D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/linuxdcpp-1.1.0-19.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xRCaRP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + test -d /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OEeMMK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + rm -rf linuxdcpp-1.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/linuxdcpp-1.1.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd linuxdcpp-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/linuxdcpp-1.1.0-openssl11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/linuxdcpp-1.1.0-scons3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e '/^#/!s/\/filt/g' SConstruct + 2to3 --write --nobackups --no-diffs SConstruct /usr/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.main import main RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored SConstruct RefactoringTool: Files that were modified: RefactoringTool: SConstruct + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bpXduS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/linuxdcpp-1.1.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd linuxdcpp-1.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + /usr/bin/scons -j48 PREFIX=/usr scons: Reading SConscript files ... bzrlib not installed Mkdir("build/sconf") Checking for g++ >= 4.1...(cached) yes Checking for pkg-config... yes Checking for gtk+-2.0 >= 2.12... yes Checking for gthread-2.0 >= 2.4... yes Checking for libglade-2.0 >= 2.4... yes Checking for C++ header file boost/version.hpp... yes Checking for C header file time.h... yes Checking for C header file signal.h... yes Checking for C header file unistd.h... yes Checking for C library pthread... yes Checking for C library z... yes Checking for C library bz2... yes Checking for C library crypto... yes Checking for C library ssl... yes Checking for C library X11... yes Checking for C header file iconv.h... yes Checking for iconv(0, (const char **)0, 0, (char**)0, 0) in C library iconv... no Checking for C header file net/if.h... yes Checking for libnotify >= 0.4.1... no libnotify >= 0.4.1 not found, disabling notifications. Note: You might have the lib but not the headers Checking bzr revision...failed (cached) scons: done reading SConscript files. scons: Building targets ... g++ -o build/release/libdcpp/ADLSearch.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/ADLSearch.cpp g++ -o build/release/libdcpp/AdcCommand.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/AdcCommand.cpp g++ -o build/release/libdcpp/AdcHub.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/AdcHub.cpp g++ -o build/release/libdcpp/BZUtils.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/BZUtils.cpp g++ -o build/release/libdcpp/BufferedSocket.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/BufferedSocket.cpp g++ -o build/release/libdcpp/Client.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Client.cpp g++ -o build/release/libdcpp/ClientManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/ClientManager.cpp g++ -o build/release/libdcpp/ConnectionManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/ConnectionManager.cpp g++ -o build/release/libdcpp/CryptoManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/CryptoManager.cpp g++ -o build/release/libdcpp/DCPlusPlus.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/DCPlusPlus.cpp g++ -o build/release/libdcpp/DirectoryListing.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/DirectoryListing.cpp g++ -o build/release/libdcpp/Download.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Download.cpp g++ -o build/release/libdcpp/DownloadManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/DownloadManager.cpp g++ -o build/release/libdcpp/Encoder.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Encoder.cpp g++ -o build/release/libdcpp/Exception.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Exception.cpp g++ -o build/release/libdcpp/FavoriteManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/FavoriteManager.cpp g++ -o build/release/libdcpp/File.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/File.cpp g++ -o build/release/libdcpp/FinishedItem.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/FinishedItem.cpp g++ -o build/release/libdcpp/FinishedManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/FinishedManager.cpp g++ -o build/release/libdcpp/HashBloom.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/HashBloom.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/AdcCommand.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/ADLSearch.cpp:24: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/HashManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/HashManager.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/AdcHub.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/HttpConnection.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/HttpConnection.cpp g++ -o build/release/libdcpp/LogManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/LogManager.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/BZUtils.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/NmdcHub.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/NmdcHub.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/BufferedSocket.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/QueueItem.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/QueueItem.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Client.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/QueueManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/QueueManager.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/ClientManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/ResourceManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/ResourceManager.cpp g++ -o build/release/libdcpp/SFVReader.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/SFVReader.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/ConnectionManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/CryptoManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/SSL.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/SSL.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/DCPlusPlus.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/SSLSocket.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/SSLSocket.cpp g++ -o build/release/libdcpp/SearchManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/SearchManager.cpp g++ -o build/release/libdcpp/SearchResult.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/SearchResult.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/DirectoryListing.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Download.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/ServerSocket.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/ServerSocket.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/DownloadManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/SettingsManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/SettingsManager.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Encoder.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/ShareManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/ShareManager.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Exception.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/SimpleXML.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/SimpleXML.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/FavoriteManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/File.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/FinishedItem.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/Socket.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Socket.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/FinishedManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/HashBloom.cpp:1: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/HashManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/HttpConnection.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/LogManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/StringTokenizer.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/StringTokenizer.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/NmdcHub.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/QueueItem.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/QueueManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/Text.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Text.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/ResourceManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/SFVReader.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/SSL.cpp:1: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/SSLSocket.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/Thread.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Thread.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/SearchManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/SearchResult.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/TigerHash.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/TigerHash.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/SimpleXML.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/TimerManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/TimerManager.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/ShareManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/Transfer.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Transfer.cpp g++ -o build/release/libdcpp/Upload.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Upload.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/ServerSocket.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/UploadManager.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/UploadManager.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/SettingsManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/StringTokenizer.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/User.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/User.cpp In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/TigerHash.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Text.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Socket.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ g++ -o build/release/libdcpp/UserConnection.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/UserConnection.cpp g++ -o build/release/libdcpp/Util.o -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -O3 -fomit-frame-pointer -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_IFADDRS_H -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/Util.cpp In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Transfer.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Thread.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/TimerManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/UploadManager.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Upload.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/UserConnection.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/User.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:21, from /usr/include/boost/format.hpp:38, from dcpp/stdinc.h:122, from dcpp/Util.cpp:19: /usr/include/boost/none_t.hpp:24:2: error: #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." 24 | #error "Boost.Optional requires some C++11 features since version 1.87. If you have an older C++ version use Boost.Optional version 1.86 or earlier." | ^~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 scons: *** [build/release/libdcpp/Exception.o] Error 1 /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Client.h:22, from dcpp/ClientManager.h:24, from dcpp/AdcCommand.cpp:23: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept scons: *** [build/release/libdcpp/BZUtils.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept In file included from dcpp/Client.h:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept scons: *** [build/release/libdcpp/HashBloom.o] Error 1 /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/User.h:23, from dcpp/DirectoryListing.h:22, from dcpp/ADLSearch.h:34, from dcpp/ADLSearch.cpp:27: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ In file included from dcpp/SettingsManager.h:22, from dcpp/AdcCommand.h:22, from dcpp/AdcCommand.cpp:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:60: /usr/include/boost/optional/detail/optional_utility.hpp:20:8: error: ‘constexpr’ does not name a type 20 | inline constexpr T&& forward(typename boost::remove_reference::type& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:20:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/User.h:23, from dcpp/QueueManager.h:26, from dcpp/QueueManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: error: ‘constexpr’ does not name a type 26 | inline constexpr T&& forward(typename boost::remove_reference::type&& t) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:26:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/BufferedSocket.h:22, from dcpp/HttpConnection.h:22, from dcpp/HttpConnection.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_utility.hpp:33:8: error: ‘constexpr’ does not name a type 33 | inline constexpr typename boost::remove_reference::type&& move(T&& t) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_utility.hpp:33:8: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:81:53: error: expected type-specifier before ‘decltype’ 81 | template ()(declval()))> | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/optional/optional.hpp:81:53: error: expected ‘>’ before ‘decltype’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:87:107: error: template argument 3 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/optional/optional.hpp:87:114: error: template argument 1 is invalid 87 | template ::type>::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:147:15: error: expected unqualified-id before ‘&&’ token 147 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:148:15: error: expected unqualified-id before ‘&&’ token 148 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:176:37: error: ‘rval_reference_type’ has not been declared 176 | optional_base ( init_value_tag, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:195:32: error: ‘rval_reference_type’ has not been declared 195 | optional_base ( bool cond, rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:215:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | optional_base ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:215:5: error: invalid constructor; you probably meant ‘boost::optional_detail::optional_base (const boost::optional_detail::optional_base&)’ 215 | optional_base ( optional_base&& rhs ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:226:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 226 | explicit optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:239:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 239 | optional_base& operator= ( optional_base && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/optional/optional.hpp:266:32: error: expected ‘,’ or ‘...’ before ‘&&’ token 266 | void assign ( optional_base&& rhs ) | ^~ /usr/include/boost/optional/optional.hpp:309:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 309 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:334:19: error: ‘rval_reference_type’ has not been declared 334 | void assign ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:348:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 348 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:382:22: error: ‘rval_reference_type’ has not been declared 382 | void construct ( rval_reference_type val ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:392:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 392 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:392:54: error: parameter packs not expanded with ‘...’: 392 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:392:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp:399:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 399 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:399:42: error: parameter packs not expanded with ‘...’: 399 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:399:42: note: ‘Args’ /usr/include/boost/optional/optional.hpp:406:51: error: expected ‘,’ or ‘...’ before ‘&&’ token 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:406:62: error: parameter packs not expanded with ‘...’: 406 | explicit optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:406:62: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:414:65: error: expected ‘,’ or ‘...’ before ‘&&’ token 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:414:76: error: parameter packs not expanded with ‘...’: 414 | explicit optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:414:76: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:426:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:434:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:434:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 434 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:441:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:449:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:449:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 449 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:462:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 462 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:462:10: error: ‘template template void boost::optional_detail::optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 462 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:426:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::construct(Expr)’ 426 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:473:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/optional.hpp:473:10: error: ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 473 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:441:10: note: previous declaration ‘template template void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’ 441 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:507:25: error: ‘rval_reference_type’ has not been declared 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_detail::init_value_tag, int)’: /usr/include/boost/optional/optional.hpp:180:35: error: ‘move’ is not a member of ‘boost::optional_detail’ 180 | construct( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(bool, int)’: /usr/include/boost/optional/optional.hpp:200:36: error: ‘move’ is not a member of ‘boost::optional_detail’ 200 | construct(optional_detail::move(val)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(Expr)’: /usr/include/boost/optional/optional.hpp:230:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 230 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:230:46: error: expected primary-expression before ‘>’ token 230 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 230 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/DownloadManagerListener.h:22, from dcpp/FinishedManager.h:22, from dcpp/FinishedManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:230:54: error: ‘tag’ was not declared in this scope 230 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional_detail::optional_base& boost::optional_detail::optional_base::operator=(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘>’ before ‘&&’ token 242 | this->assign(static_cast(rhs)); | ^~ /usr/include/boost/optional/optional.hpp:242:45: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:242:47: error: expected identifier before ‘>’ token 242 | this->assign(static_cast(rhs)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:242:49: error: ‘rhs’ was not declared in this scope 242 | this->assign(static_cast(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional_detail::optional_base)’: /usr/include/boost/optional/optional.hpp:270:14: error: ‘rhs’ was not declared in this scope 270 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:271:45: error: ‘move’ is not a member of ‘boost::optional_detail’ 271 | assign_value( optional_detail::move(rhs.get_impl()) ); | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:276:14: error: ‘rhs’ was not declared in this scope 276 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/optional/optional.hpp:277:38: error: ‘move’ is not a member of ‘boost::optional_detail’ 277 | construct(optional_detail::move(rhs.get_impl())); | ^~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from dcpp/User.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(boost::optional)’: /usr/include/boost/optional/optional.hpp:314:14: error: ‘rhs’ was not declared in this scope 314 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:320:14: error: ‘rhs’ was not declared in this scope 320 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign(int)’: /usr/include/boost/optional/optional.hpp:337:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 337 | assign_value( optional_detail::move(val) ); | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:338:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 338 | else construct( optional_detail::move(val) ); | ^~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr(Expr)’: /usr/include/boost/optional/optional.hpp:351:53: error: ‘forward’ is not a member of ‘boost::optional_detail’ 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:351:65: error: expected primary-expression before ‘>’ token 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:351:67: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:351:73: error: ‘tag’ was not declared in this scope 351 | assign_expr_to_initialized(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:352:39: error: ‘forward’ is not a member of ‘boost::optional_detail’ 352 | else construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:352:51: error: expected primary-expression before ‘>’ token 352 | else construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Client.h:22, from dcpp/Client.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/optional/optional.hpp:352:53: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 352 | else construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/optional/optional.hpp:352:59: error: ‘tag’ was not declared in this scope 352 | else construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(int)’: /usr/include/boost/optional/optional.hpp:384:77: error: ‘move’ is not a member of ‘boost::optional_detail’ 384 | ::new (m_storage.address()) unqualified_value_type( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:394:76: error: ‘forward’ is not a member of ‘boost::optional_detail’ 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:394:88: error: expected primary-expression before ‘>’ token 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/optional/optional.hpp:394:90: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 394 | ::new (m_storage.address()) unqualified_value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::emplace_assign()’: /usr/include/boost/optional/optional.hpp:402:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/optional.hpp:402:61: error: expected primary-expression before ‘>’ token 402 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:402:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 402 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:410:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:410:61: error: expected primary-expression before ‘>’ token 410 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:410:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 410 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional_detail::optional_base::optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:419:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:419:63: error: expected primary-expression before ‘>’ token 419 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ scons: *** [build/release/libdcpp/LogManager.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/User.h:23, from dcpp/SearchManager.h:25, from dcpp/SearchManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:419:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 419 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ In file included from dcpp/ADLSearch.h:27: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:428:53: error: ‘factory’ was not declared in this scope 428 | boost_optional_detail::construct(factory, m_storage.address()); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:436:8: error: ‘factory’ was not declared in this scope 436 | factory.apply(m_storage.address()) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ In file included from dcpp/FinishedManager.h:30: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/FinishedManager.h:29: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:444:18: error: ‘factory’ was not declared in this scope 444 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:444:26: error: ‘tag’ was not declared in this scope 444 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:452:18: error: ‘factory’ was not declared in this scope 452 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/optional.hpp:452:26: error: ‘tag’ was not declared in this scope 452 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::construct(Expr)’: /usr/include/boost/optional/optional.hpp:464:73: error: ‘forward’ is not a member of ‘boost::optional_detail’ 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/optional.hpp:464:85: error: expected primary-expression before ‘>’ token 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ In file included from dcpp/QueueManager.h:28: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> /usr/include/boost/optional/optional.hpp:464:87: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 464 | new (m_storage.address()) unqualified_value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::pair<_T1, _T2>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/optional.hpp:475:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 475 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/optional/optional.hpp:475:50: error: expected primary-expression before ‘>’ token 475 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::allocator<_Tp1>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::vector<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::fpos<_StateT>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/c++/14/string:54: /usr/include/c++/14/bits/basic_string.h:3755:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3755 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3755:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’ 3772 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: candidate: ‘template bool std::operator==(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3819 | operator==(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: mismatched types ‘const _CharT*’ and ‘boost::intrusive_ptr’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token In file included from /usr/include/c++/14/map:63, from dcpp/stdinc.h:111: /usr/include/c++/14/bits/stl_map.h:1512:5: note: candidate: ‘template bool std::operator==(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)’ 1512 | operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_map.h:1512:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ In file included from /usr/include/c++/14/map:64: /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: candidate: ‘template bool std::operator==(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)’ 1134 | operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/set:63, from dcpp/stdinc.h:112: /usr/include/c++/14/bits/stl_set.h:987:5: note: candidate: ‘template bool std::operator==(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)’ 987 | operator==(const set<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/c++/14/bits/stl_set.h:987:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::set<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/set:64: /usr/include/c++/14/bits/stl_multiset.h:973:5: note: candidate: ‘template bool std::operator==(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)’ 973 | operator==(const multiset<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/c++/14/bits/stl_multiset.h:973:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ In file included from /usr/include/c++/14/deque:66, from dcpp/stdinc.h:113: /usr/include/c++/14/bits/stl_deque.h:2290:5: note: candidate: ‘template bool std::operator==(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’ 2290 | operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_deque.h:2290:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::deque<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args In file included from /usr/include/c++/14/list:65, from dcpp/stdinc.h:114: /usr/include/c++/14/bits/stl_list.h:2122:5: note: candidate: ‘template bool std::operator==(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’ 2122 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_list.h:2122:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/bits/locale_facets.h:48, from /usr/include/c++/14/locale:42, from /usr/include/boost/format.hpp:23: /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: candidate: ‘template bool std::operator==(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’ 234 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a, | ^~~~~~~~ /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: template argument deduction/substitution failed: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/optional/optional.hpp:475:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 475 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/SettingsManager.h:22, from dcpp/SearchManager.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional_detail::optional_base::assign_value(int)’: /usr/include/boost/optional/optional.hpp:507:78: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 507 | void assign_value ( rval_reference_type val ) { get_impl() = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:533: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: At global scope: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:28:15: error: expected unqualified-id before ‘&&’ token 28 | typedef T && rval_reference_type ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:29:15: error: expected unqualified-id before ‘&&’ token 29 | typedef T && reference_type_of_temporary_wrapper ; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:53:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 53 | explicit tc_optional_base ( Expr&& expr, PtrExpr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:85:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 85 | void assign ( optional&& rhs ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:103:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 103 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 139 | void construct ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: error: parameter packs not expanded with ‘...’: 139 | void construct ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:139:54: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 146 | void emplace_assign ( Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: error: parameter packs not expanded with ‘...’: 146 | void emplace_assign ( Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:146:42: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:54: error: expected ‘,’ or ‘...’ before ‘&&’ token 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: error: parameter packs not expanded with ‘...’: 152 | explicit tc_optional_base ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:152:65: note: ‘Args’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:68: error: expected ‘,’ or ‘...’ before ‘&&’ token 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: error: parameter packs not expanded with ‘...’: 160 | explicit tc_optional_base ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:160:79: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:180:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 180 | void construct ( Expr&& factory, typed_in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:195:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 195 | void assign_expr_to_initialized ( Expr&& factory, typed_in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:26: error: expected ‘,’ or ‘...’ before ‘&&’ token 208 | void construct ( Expr&& expr, void const* ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:208:10: error: ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 208 | void construct ( Expr&& expr, void const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:172:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::construct(Expr)’ 172 | void construct ( Expr&& factory, in_place_factory_base const* ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:219:10: error: ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ cannot be overloaded with ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 219 | void assign_expr_to_initialized ( Expr&& expr, void const* ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:187:10: note: previous declaration ‘template template void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’ 187 | void assign_expr_to_initialized ( Expr&& factory, in_place_factory_base const* tag ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:25: error: ‘rval_reference_type’ has not been declared 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:34: error: ‘forward’ is not a member of ‘boost::optional_detail’ 57 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:46: error: expected primary-expression before ‘>’ token 57 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token dcpp/DirectoryListing.h: In member function ‘void dcpp::DirectoryListing::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/DirectoryListing.h:158:9: note: in expansion of macro ‘GETSET’ 158 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:48: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 57 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:57:54: error: ‘tag’ was not declared in this scope 57 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible dcpp/QueueManager.h: In constructor ‘dcpp::DirectoryItem::DirectoryItem()’: dcpp/QueueManager.h:53:54: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 53 | DirectoryItem() : priority(QueueItem::DEFAULT) { } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ dcpp/DirectoryListing.h: In member function ‘void dcpp::DirectoryListing::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/DirectoryListing.h:158:9: note: in expansion of macro ‘GETSET’ 158 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueManager.h: In member function ‘void dcpp::DirectoryItem::setUser(const dcpp::UserPtr&)’: dcpp/QueueManager.h:59:53: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 59 | void setUser(const UserPtr& aUser) { user = aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ scons: *** [build/release/libdcpp/AdcCommand.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign(boost::optional)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:88:12: error: ‘rhs’ was not declared in this scope 88 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scons: *** [build/release/libdcpp/ResourceManager.o] Error 1 /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:90:23: error: ‘rhs’ was not declared in this scope 90 | m_initialized = rhs.is_initialized(); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 105 | construct(optional_detail::forward(expr),tag); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:47: error: expected primary-expression before ‘>’ token 105 | construct(optional_detail::forward(expr),tag); | ^ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:49: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 105 | construct(optional_detail::forward(expr),tag); | ^~~~ | Expr /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:105:55: error: ‘tag’ was not declared in this scope 105 | construct(optional_detail::forward(expr),tag); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/DownloadManager.h:22, from dcpp/DownloadManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ In file included from dcpp/DownloadManager.h:26, from dcpp/FinishedManager.cpp:28: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::pair<_T1, _T2>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::allocator<_Tp1>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::vector<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::fpos<_StateT>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/string:54: /usr/include/c++/14/bits/basic_string.h:3755:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3755 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3755:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’ 3772 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: candidate: ‘template bool std::operator==(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3819 | operator==(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: mismatched types ‘const _CharT*’ and ‘boost::intrusive_ptr’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/map:63, from dcpp/stdinc.h:111: /usr/include/c++/14/bits/stl_map.h:1512:5: note: candidate: ‘template bool std::operator==(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)’ 1512 | operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_map.h:1512:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/map:64: /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: candidate: ‘template bool std::operator==(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)’ 1134 | operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/set:63, from dcpp/stdinc.h:112: /usr/include/c++/14/bits/stl_set.h:987:5: note: candidate: ‘template bool std::operator==(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)’ 987 | operator==(const set<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_set.h:987:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::set<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/set:64: /usr/include/c++/14/bits/stl_multiset.h:973:5: note: candidate: ‘template bool std::operator==(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)’ 973 | operator==(const multiset<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multiset.h:973:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible In file included from /usr/include/c++/14/deque:66, from dcpp/stdinc.h:113: /usr/include/c++/14/bits/stl_deque.h:2290:5: note: candidate: ‘template bool std::operator==(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’ 2290 | operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/c++/14/bits/stl_deque.h:2290:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::deque<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) In file included from /usr/include/c++/14/list:65, from dcpp/stdinc.h:114: /usr/include/c++/14/bits/stl_list.h:2122:5: note: candidate: ‘template bool std::operator==(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’ 2122 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_list.h:2122:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/c++/14/bits/locale_facets.h:48, from /usr/include/c++/14/locale:42, from /usr/include/boost/format.hpp:23: /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: candidate: ‘template bool std::operator==(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’ 234 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a, | ^~~~~~~~ /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ADLSearch.h: In constructor ‘dcpp::ADLSearchManager::ADLSearchManager()’: dcpp/ADLSearch.h:236:28: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 236 | ADLSearchManager() { Load(); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; dcpp/ADLSearch.h: In member function ‘void dcpp::ADLSearchManager::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/ADLSearch.h:249:9: note: in expansion of macro ‘GETSET’ 249 | GETSET(UserPtr, user, User) | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ scons: *** [build/release/libdcpp/SFVReader.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:62: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:29: error: expected primary-expression before ‘(’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept scons: *** [build/release/libdcpp/Text.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; scons: *** [build/release/libdcpp/HttpConnection.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:48: error: ‘forward’ is not a member of ‘boost::optional_detail’ 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:141:60: error: expected primary-expression before ‘>’ token 141 | m_storage = value_type( optional_detail::forward(args)... ) ; | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::emplace_assign()’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:61: error: expected primary-expression before ‘>’ token 148 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:148:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 148 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:49: error: ‘forward’ is not a member of ‘boost::optional_detail’ 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:61: error: expected primary-expression before ‘>’ token 156 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; In file included from dcpp/SearchManager.cpp:25: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:156:63: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 156 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In constructor ‘boost::optional_detail::tc_optional_base::tc_optional_base(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:51: error: ‘forward’ is not a member of ‘boost::optional_detail’ 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:63: error: expected primary-expression before ‘>’ token 165 | construct(in_place_init, optional_detail::forward(args)...); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; dcpp/File.cpp: In member function ‘int dcpp::File::extendFile(int64_t)’: dcpp/File.cpp:310:26: warning: ignoring return value of ‘int ftruncate(int, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 310 | ftruncate(h,(off_t)len); | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:165:65: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 165 | construct(in_place_init, optional_detail::forward(args)...); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; In file included from dcpp/Client.h:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ In file included from dcpp/QueueManager.cpp:24: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; In file included from dcpp/User.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Download.h:4, from dcpp/Download.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:174:53: error: ‘factory’ was not declared in this scope 174 | boost_optional_detail::construct(factory, boost::addressof(m_storage)); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:182:8: error: ‘factory’ was not declared in this scope 182 | factory.apply(boost::addressof(m_storage)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 scons: *** [build/release/libdcpp/File.o] Error 1 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:18: error: ‘factory’ was not declared in this scope 190 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:190:26: error: ‘tag’ was not declared in this scope 190 | construct(factory,tag); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ In file included from dcpp/SearchManager.cpp:26: dcpp/ShareManager.h: At global scope: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; dcpp/DirectoryListing.h: In member function ‘void dcpp::DirectoryListing::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/DirectoryListing.h:158:9: note: in expansion of macro ‘GETSET’ 158 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:18: error: ‘factory’ was not declared in this scope 198 | construct(factory,tag); | ^~~~~~~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ In file included from dcpp/ConnectionManager.h:24, from dcpp/QueueManager.cpp:25: dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:198:26: error: ‘tag’ was not declared in this scope 198 | construct(factory,tag); | ^~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::construct(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:61: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:29: error: expected primary-expression before ‘(’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:47: error: ‘forward’ is not a member of ‘boost::optional_detail’ 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:210:59: error: expected primary-expression before ‘>’ token 210 | m_storage = value_type(optional_detail::forward(expr)) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_expr_to_initialized(Expr)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:38: error: ‘forward’ is not a member of ‘boost::optional_detail’ 221 | assign_value( optional_detail::forward(expr) ); | ^~~~~~~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:50: error: expected primary-expression before ‘>’ token 221 | assign_value( optional_detail::forward(expr) ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; In file included from dcpp/FinishedManager.cpp:29: dcpp/QueueManager.h: In constructor ‘dcpp::DirectoryItem::DirectoryItem()’: dcpp/QueueManager.h:53:54: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 53 | DirectoryItem() : priority(QueueItem::DEFAULT) { } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; dcpp/QueueManager.h: In member function ‘void dcpp::DirectoryItem::setUser(const dcpp::UserPtr&)’: dcpp/QueueManager.h:59:53: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 59 | void setUser(const UserPtr& aUser) { user = aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:221:52: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 221 | assign_value( optional_detail::forward(expr) ); | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible dcpp/ConnectionManager.h: In function ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’: dcpp/ConnectionManager.h:95:100: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ dcpp/ConnectionManager.h:95:100: note: candidate: ‘operator==(int, int)’ (built-in) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ dcpp/ConnectionManager.h:95:100: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ In file included from dcpp/QueueManager.h:30: dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/QueueManager.h:28, from dcpp/ADLSearch.cpp:28: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/SearchManager.cpp: In member function ‘void dcpp::SearchManager::onData(const uint8_t*, size_t, const std::string&)’: dcpp/SearchManager.cpp:228:81: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 228 | user = ClientManager::getInstance()->findLegacyUser(nick); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; dcpp/QueueManager.h: In constructor ‘dcpp::DirectoryItem::DirectoryItem()’: dcpp/QueueManager.h:53:54: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 53 | DirectoryItem() : priority(QueueItem::DEFAULT) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; dcpp/QueueManager.h: In member function ‘void dcpp::DirectoryItem::setUser(const dcpp::UserPtr&)’: dcpp/QueueManager.h:59:53: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 59 | void setUser(const UserPtr& aUser) { user = aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; dcpp/FavoriteUser.h: In member function ‘void dcpp::FavoriteUser::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/FavoriteUser.h:40:9: note: in expansion of macro ‘GETSET’ 40 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp: In member function ‘void boost::optional_detail::tc_optional_base::assign_value(int)’: /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:253:77: error: ‘rval_reference_type’ does not name a type; did you mean ‘reference_type’? 253 | void assign_value ( rval_reference_type val ) { m_storage = static_cast(val); } | ^~~~~~~~~~~~~~~~~~~ | reference_type /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:712:37: error: expected ‘,’ or ‘...’ before ‘&&’ token 712 | explicit optional ( optional && rhs | ^~ In file included from dcpp/QueueItem.h:22, from dcpp/DownloadManager.h:26: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/optional/optional.hpp:737:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 737 | explicit optional ( Expr&& expr, | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/optional/optional.hpp:758:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 758 | optional ( optional && rhs ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/optional/optional.hpp:758:5: error: invalid constructor; you probably meant ‘boost::optional (const boost::optional&)’ 758 | optional ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/optional/optional.hpp:777:21: error: expected ‘,’ or ‘...’ before ‘&&’ token 777 | operator= ( Expr&& expr ) | ^~ /usr/include/boost/optional/optional.hpp:799:39: error: expected ‘,’ or ‘...’ before ‘&&’ token 799 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:822:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 822 | optional& operator= ( optional && rhs ) | ^~ /usr/include/boost/optional/optional.hpp:872:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 872 | void emplace ( Args&&... args ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:872:35: error: parameter packs not expanded with ‘...’: 872 | void emplace ( Args&&... args ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:872:35: note: ‘Args’ /usr/include/boost/optional/optional.hpp:878:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:878:57: error: parameter packs not expanded with ‘...’: 878 | explicit optional ( in_place_init_t, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:878:57: note: ‘Args’ /usr/include/boost/optional/optional.hpp:883:60: error: expected ‘,’ or ‘...’ before ‘&&’ token 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^~ /usr/include/boost/optional/optional.hpp:883:71: error: parameter packs not expanded with ‘...’: 883 | explicit optional ( in_place_init_if_t, bool cond, Args&&... args ) | ^ /usr/include/boost/optional/optional.hpp:883:71: note: ‘Args’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:938:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 938 | value_type value_or ( U&& v ) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:986:67: error: template argument 3 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:986:68: error: ‘’ is not a template [-fpermissive] 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^~ /usr/include/boost/optional/optional.hpp:986:74: error: template argument 1 is invalid 986 | optional::type> map(F f) BOOST_OPTIONAL_REF_QUAL | ^ /usr/include/boost/optional/optional.hpp:995:73: error: template argument 3 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:995:74: error: ‘’ is not a template [-fpermissive] 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/optional/optional.hpp:995:80: error: template argument 1 is invalid 995 | optional::type> map(F f) BOOST_OPTIONAL_CONST_REF_QUAL | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:1015:75: error: template argument 3 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/optional.hpp:1015:76: error: ‘’ is not a template [-fpermissive] 1015 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1015:82: error: template argument 1 is invalid 1015 | optional::type> | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:1025:81: error: template argument 3 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:1025:82: error: ‘’ is not a template [-fpermissive] 1025 | optional::type> | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/optional/optional.hpp:1025:88: error: template argument 1 is invalid 1025 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:678:101: error: ‘forward’ is not a member of ‘boost::optional_detail’ 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:678:110: error: expected primary-expression before ‘>’ token 678 | optional ( rval_reference_type val ) : base(optional_detail::init_value_tag(), optional_detail::forward(val)) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(bool, rval_reference_type)’: /usr/include/boost/optional/optional.hpp:687:84: error: ‘forward’ is not a member of ‘boost::optional_detail’ 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:687:93: error: expected primary-expression before ‘>’ token 687 | optional ( bool cond, rval_reference_type val ) : base( cond, optional_detail::forward(val) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/SettingsManager.h:22, from dcpp/AdcCommand.h:22, from dcpp/UserConnectionListener.h:24, from dcpp/DownloadManager.h:25: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional)’: /usr/include/boost/optional/optional.hpp:720:12: error: ‘rhs’ was not declared in this scope 720 | if ( rhs.is_initialized() ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:721:43: error: ‘move’ is not a member of ‘boost::optional_detail’ 721 | this->construct( optional_detail::move(rhs.get()) ); | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(Expr)’: /usr/include/boost/optional/optional.hpp:740:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:740:41: error: expected primary-expression before ‘>’ token 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^ scons: *** [build/release/libdcpp/Thread.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept scons: *** [build/release/libdcpp/ServerSocket.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; dcpp/FinishedManager.cpp: In member function ‘void dcpp::FinishedManager::onComplete(dcpp::Transfer*, bool, bool)’: dcpp/FinishedManager.cpp:149:45: error: ambiguous overload for ‘operator=’ (operand types are ‘std::tr1::__detail::_Map_base, std::pair, boost::intrusive_ptr >, std::_Select1st, boost::intrusive_ptr > >, true, std::tr1::_Hashtable, std::pair, boost::intrusive_ptr >, std::allocator, boost::intrusive_ptr > >, std::_Select1st, boost::intrusive_ptr > >, std::equal_to >, std::tr1::hash >, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >::mapped_type’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::FinishedFileItemPtr’ {aka ‘boost::intrusive_ptr’}) 149 | map[file] = p; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::FinishedFileItem; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::FinishedFileItem]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:740:43: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 740 | : base(optional_detail::forward(expr),boost::addressof(expr)) | ^~~~ | Expr /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(Expr)’: /usr/include/boost/optional/optional.hpp:779:44: error: ‘forward’ is not a member of ‘boost::optional_detail’ 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/optional/optional.hpp:779:56: error: expected primary-expression before ‘>’ token 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; dcpp/FinishedManager.cpp:174:45: error: ambiguous overload for ‘operator=’ (operand types are ‘std::tr1::__detail::_Map_base, std::pair, boost::intrusive_ptr >, std::_Select1st, boost::intrusive_ptr > >, true, std::tr1::_Hashtable, std::pair, boost::intrusive_ptr >, std::allocator, boost::intrusive_ptr > >, std::_Select1st, boost::intrusive_ptr > >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >::mapped_type’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::FinishedUserItemPtr’ {aka ‘boost::intrusive_ptr’}) 174 | map[user] = p; | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::FinishedUserItem; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::FinishedUserItem]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:779:58: error: ‘expr’ was not declared in this scope; did you mean ‘Expr’? 779 | this->assign_expr(optional_detail::forward(expr),boost::addressof(expr)); | ^~~~ | Expr /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:801:39: error: ‘move’ is not a member of ‘boost::optional_detail’ 801 | this->assign(optional_detail::move(rhs)); | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:801:44: error: ‘rhs’ was not declared in this scope 801 | this->assign(optional_detail::move(rhs)); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(boost::optional)’: /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘>’ before ‘&&’ token 825 | this->assign( static_cast(rhs) ) ; | ^~ /usr/include/boost/optional/optional.hpp:825:40: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/optional/optional.hpp:825:42: error: expected identifier before ‘>’ token 825 | this->assign( static_cast(rhs) ) ; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp:825:44: error: ‘rhs’ was not declared in this scope 825 | this->assign( static_cast(rhs) ) ; | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional& boost::optional::operator=(rval_reference_type)’: /usr/include/boost/optional/optional.hpp:854:40: error: ‘move’ is not a member of ‘boost::optional_detail’ 854 | this->assign( optional_detail::move(val) ) ; | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘void boost::optional::emplace()’: /usr/include/boost/optional/optional.hpp:874:46: error: ‘forward’ is not a member of ‘boost::optional_detail’ 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:874:58: error: expected primary-expression before ‘>’ token 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/optional/optional.hpp:874:60: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 874 | this->emplace_assign( optional_detail::forward(args)... ); | ^~~~ | Args /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_t, )’: /usr/include/boost/optional/optional.hpp:879:45: error: ‘forward’ is not a member of ‘boost::optional_detail’ 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:879:57: error: expected primary-expression before ‘>’ token 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/FinishedItem.h:22, from dcpp/FinishedItem.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/optional/optional.hpp:879:59: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 879 | : base( in_place_init, optional_detail::forward(args)... ) | ^~~~ | Args In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In constructor ‘boost::optional::optional(boost::optional_ns::in_place_init_if_t, bool, )’: /usr/include/boost/optional/optional.hpp:884:54: error: ‘forward’ is not a member of ‘boost::optional_detail’ 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~~~~ /usr/include/boost/optional/optional.hpp:884:66: error: expected primary-expression before ‘>’ token 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:884:68: error: ‘args’ was not declared in this scope; did you mean ‘Args’? 884 | : base( in_place_init_if, cond, optional_detail::forward(args)... ) | ^~~~ | Args /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/Client.cpp:28: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/optional/optional.hpp: In member function ‘boost::optional::value_type boost::optional::value_or(U) const’: /usr/include/boost/optional/optional.hpp:943:35: error: ‘forward’ is not a member of ‘boost::optional_detail’ 943 | return optional_detail::forward(v); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:943:44: error: expected primary-expression before ‘>’ token 943 | return optional_detail::forward(v); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::pair<_T1, _T2>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/SearchResult.h:22, from dcpp/SearchResult.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::allocator<_Tp1>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::vector<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::fpos<_StateT>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/string:54: /usr/include/c++/14/bits/basic_string.h:3755:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3755 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3755:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’ 3772 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: candidate: ‘template bool std::operator==(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3819 | operator==(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: mismatched types ‘const _CharT*’ and ‘boost::intrusive_ptr’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/map:63, from dcpp/stdinc.h:111: /usr/include/c++/14/bits/stl_map.h:1512:5: note: candidate: ‘template bool std::operator==(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)’ 1512 | operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_map.h:1512:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/map:64: /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: candidate: ‘template bool std::operator==(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)’ 1134 | operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/set:63, from dcpp/stdinc.h:112: /usr/include/c++/14/bits/stl_set.h:987:5: note: candidate: ‘template bool std::operator==(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)’ 987 | operator==(const set<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_set.h:987:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::set<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ In file included from /usr/include/c++/14/set:64: /usr/include/c++/14/bits/stl_multiset.h:973:5: note: candidate: ‘template bool std::operator==(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)’ 973 | operator==(const multiset<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multiset.h:973:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) In file included from /usr/include/c++/14/deque:66, from dcpp/stdinc.h:113: /usr/include/c++/14/bits/stl_deque.h:2290:5: note: candidate: ‘template bool std::operator==(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’ 2290 | operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_deque.h:2290:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::deque<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; In file included from /usr/include/c++/14/list:65, from dcpp/stdinc.h:114: /usr/include/c++/14/bits/stl_list.h:2122:5: note: candidate: ‘template bool std::operator==(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’ 2122 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_list.h:2122:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ In file included from /usr/include/c++/14/bits/locale_facets.h:48, from /usr/include/c++/14/locale:42, from /usr/include/boost/format.hpp:23: /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: candidate: ‘template bool std::operator==(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’ 234 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a, | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp:943:46: error: ‘v’ was not declared in this scope 943 | return optional_detail::forward(v); | ^ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F)’: /usr/include/boost/optional/optional.hpp:991:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 991 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/optional.hpp:1000:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1000 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F)’: /usr/include/boost/optional/optional.hpp:1021:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1021 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/optional.hpp:1031:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 1031 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1053:19: error: template argument 1 is invalid 1053 | class optional | ^ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:1061: /usr/include/boost/optional/detail/optional_reference_spec.hpp:38:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 38 | BOOST_DEDUCED_TYPENAME boost::remove_reference::type& forward_reference(T&& r) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In function ‘typename boost::remove_reference::type& boost::detail::forward_reference(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:29: error: ‘forward’ is not a member of ‘boost::optional_detail’ 42 | return optional_detail::forward(r); | ^~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:38: error: expected primary-expression before ‘>’ token 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; scons: *** [build/release/libdcpp/SimpleXML.o] Error 1 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:42:40: error: ‘r’ was not declared in this scope 42 | return optional_detail::forward(r); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: At global scope: /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:73: error: template argument 3 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:74: error: ‘’ is not a template [-fpermissive] 171 | optional::type> | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:171:80: error: template argument 1 is invalid 171 | optional::type> | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:81: error: template argument 3 is invalid 181 | optional::type> | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:82: error: ‘’ is not a template [-fpermissive] 181 | optional::type> | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:181:88: error: template argument 1 is invalid 181 | optional::type> | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:15: error: expected ‘,’ or ‘...’ before ‘&&’ token 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:195:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 195 | optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:199:30: error: expected ‘,’ or ‘...’ before ‘&&’ token 199 | optional(bool cond, R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:20: error: expected ‘,’ or ‘...’ before ‘&&’ token 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:207:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 207 | void emplace(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp:211:24: error: expected ‘,’ or ‘...’ before ‘&&’ token 211 | T& get_value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/optional/detail/optional_reference_spec.hpp:215:22: error: expected ‘,’ or ‘...’ before ‘&&’ token 215 | T& value_or(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) const BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp:219:19: error: expected ‘,’ or ‘...’ before ‘&&’ token 219 | void reset(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if, bool>::type = true) BOOST_NOEXCEPT | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:177:16: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 177 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘int boost::optional::flat_map(F) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:187:18: error: cannot convert ‘const boost::none_t’ to ‘int’ in return 187 | return none; | ^~~~ | | | const boost::none_t /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(T)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:192:54: error: parse error in template argument list 192 | optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/ADLSearch.cpp:29: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:196:33: error: ‘r’ was not declared in this scope 196 | : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In constructor ‘boost::optional::optional(bool, R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:200:40: error: ‘r’ was not declared in this scope 200 | : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue(); } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; In file included from dcpp/QueueManager.cpp:32: dcpp/ShareManager.h: At global scope: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ In file included from /usr/include/c++/14/tr1/hashtable.h:36, from /usr/include/c++/14/tr1/unordered_set:43, from dcpp/stdinc.h:133: /usr/include/c++/14/tr1/hashtable_policy.h: In instantiation of ‘std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type& std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::operator[](const _Key&) [with _Key = std::__cxx11::basic_string; _Pair = std::pair, boost::intrusive_ptr >; _Hashtable = std::tr1::_Hashtable, std::pair, boost::intrusive_ptr >, std::allocator, boost::intrusive_ptr > >, std::_Select1st, boost::intrusive_ptr > >, std::equal_to >, std::tr1::hash >, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>; mapped_type = boost::intrusive_ptr]’: dcpp/FinishedManager.cpp:149:13: required from here 149 | map[file] = p; | ^ /usr/include/c++/14/tr1/hashtable_policy.h:525:58: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 525 | return __h->_M_insert_bucket(std::make_pair(__k, mapped_type()), | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::FinishedFileItem]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::FinishedFileItem]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::FinishedFileItem]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::FinishedFileItem]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/c++/14/tr1/hashtable_policy.h: In instantiation of ‘std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type& std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::operator[](const _Key&) [with _Key = boost::intrusive_ptr; _Pair = std::pair, boost::intrusive_ptr >; _Hashtable = std::tr1::_Hashtable, std::pair, boost::intrusive_ptr >, std::allocator, boost::intrusive_ptr > >, std::_Select1st, boost::intrusive_ptr > >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>; mapped_type = boost::intrusive_ptr]’: dcpp/FinishedManager.cpp:174:13: required from here 174 | map[user] = p; | ^ /usr/include/c++/14/tr1/hashtable_policy.h:525:58: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 525 | return __h->_M_insert_bucket(std::make_pair(__k, mapped_type()), | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::FinishedUserItem]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::FinishedUserItem]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::FinishedUserItem]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::FinishedUserItem]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘typename boost::enable_if, boost::optional&>::type boost::optional::operator=(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:204:104: error: ‘r’ was not declared in this scope 204 | operator=(R&& r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); return *this; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::emplace(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:208:72: error: ‘r’ was not declared in this scope 208 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::get_value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:212:68: error: ‘r’ was not declared in this scope 212 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ scons: *** [build/release/libdcpp/SettingsManager.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘T& boost::optional::value_or(R) const’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:216:70: error: ‘r’ was not declared in this scope 216 | { detail::prevent_binding_rvalue(); return ptr_ ? *ptr_ : r; } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ In file included from dcpp/UserConnection.h:29, from dcpp/Download.cpp:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/detail/optional_reference_spec.hpp: In member function ‘void boost::optional::reset(R)’: /usr/include/boost/optional/detail/optional_reference_spec.hpp:220:70: error: ‘r’ was not declared in this scope 220 | { detail::prevent_binding_rvalue(); ptr_ = boost::addressof(r); } | ^ dcpp/QueueManager.cpp: In member function ‘dcpp::QueueItem* dcpp::QueueManager::UserQueue::getNext(const dcpp::UserPtr&, dcpp::QueueItem::Priority, int64_t)’: dcpp/QueueManager.cpp:215:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 215 | dcdebug("No segment for %s in %s, block " I64_FMT "\n", aUser->getCID().toBase32().c_str(), qi->getTarget().c_str(), blockSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | int64_t {aka long int} /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/QueueManager.cpp:20: dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1069:74: error: expected ‘,’ or ‘...’ before ‘&&’ token 1069 | optional::type> make_optional ( T && v ) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(T)’: /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ In file included from dcpp/Transfer.h:25, from dcpp/Download.h:5: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; dcpp/QueueManager.cpp: In member function ‘void dcpp::QueueManager::UserQueue::removeDownload(dcpp::QueueItem*, const dcpp::UserPtr&)’: dcpp/QueueManager.cpp:240:36: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 240 | if((*i)->getUser() == user) { | ~~~~~~~~~~~~~~~ ^~ ~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueManager.cpp:240:36: note: candidate: ‘operator==(int, int)’ (built-in) 240 | if((*i)->getUser() == user) { | ~~~~~~~~~~~~~~~~^~~~~~~ dcpp/QueueManager.cpp:240:36: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:240:39: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 240 | if((*i)->getUser() == user) { | ^~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:240:39: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 240 | if((*i)->getUser() == user) { | ^~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:240:39: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 240 | if((*i)->getUser() == user) { | ^~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:240:39: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 240 | if((*i)->getUser() == user) { | ^~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:240:39: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 240 | if((*i)->getUser() == user) { | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp:1071:93: error: ‘v’ was not declared in this scope 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:1071:64: error: expected primary-expression before ‘(’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:1071:82: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1071 | return optional::type>(optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1071:91: error: expected primary-expression before ‘>’ token 1071 | return optional::type>(optional_detail::forward(v)); | ^ /usr/include/boost/optional/optional.hpp: At global scope: /usr/include/boost/optional/optional.hpp:1077:85: error: expected ‘,’ or ‘...’ before ‘&&’ token 1077 | optional::type> make_optional ( bool cond, T && v ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In function ‘boost::optional::type> boost::make_optional(bool, T)’: /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; scons: *** [build/release/libdcpp/StringTokenizer.o] Error 1 In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:1079:98: error: ‘v’ was not declared in this scope 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:1079:64: error: expected primary-expression before ‘(’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/optional/optional.hpp:1079:87: error: ‘forward’ is not a member of ‘boost::optional_detail’ 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^~~~~~~ /usr/include/boost/optional/optional.hpp:1079:96: error: expected primary-expression before ‘>’ token 1079 | return optional::type>(cond,optional_detail::forward(v)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/optional/optional.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const optional_detail::optional_tag&)’: /usr/include/boost/optional/optional.hpp:1165:3: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] 1165 | static_assert(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); | ^~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:1165:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:1173: /usr/include/boost/optional/detail/optional_swap.hpp: In static member function ‘static void boost::optional_detail::swap_selector::optional_swap(boost::optional&, boost::optional&)’: /usr/include/boost/optional/detail/optional_swap.hpp:77:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 77 | y = BOOST_OPTIONAL_DETAIL_MOVE(*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_swap.hpp:85:21: error: ‘move’ is not a member of ‘boost::optional_detail’ 85 | x = BOOST_OPTIONAL_DETAIL_MOVE(*y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ scons: *** [build/release/libdcpp/Encoder.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/format/alt_sstream.hpp:22, from /usr/include/boost/format/internals.hpp:24: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:25: error: expected ‘;’ at end of member declaration 36 | char const * what() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ dcpp/QueueManager.cpp: In member function ‘virtual int dcpp::QueueManager::Rechecker::run()’: dcpp/QueueManager.cpp:460:49: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 460 | dcdebug("Found bad block at " I64_FMT "\n", startPos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ | | | int64_t {aka long int} /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token dcpp/DirectoryListing.h: In member function ‘void dcpp::DirectoryListing::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/DirectoryListing.h:158:9: note: in expansion of macro ‘GETSET’ 158 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 36 | char const * what() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/bad_weak_ptr.hpp:36:18: error: looser exception specification on overriding virtual function ‘virtual const char* boost::bad_weak_ptr::what() const’ 36 | char const * what() const noexcept override | ^~~~ In file included from /usr/include/c++/14/new:41, from /usr/include/c++/14/bits/stl_tempbuf.h:59, from /usr/include/c++/14/bits/stl_algo.h:69, from /usr/include/c++/14/algorithm:61, from dcpp/stdinc.h:108: /usr/include/c++/14/bits/exception.h:74:5: note: overridden function is ‘virtual const char* std::exception::what() const throw ()’ 74 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW; | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; In file included from dcpp/FinishedItem.cpp:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:55:54: error: expected initializer before ‘noexcept’ 55 | template D * get_local_deleter( D * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:60:68: error: expected initializer before ‘noexcept’ 60 | template D * get_local_deleter( local_sp_deleter * p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:18: error: expected ‘;’ at end of member declaration 84 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; dcpp/QueueManager.cpp: In member function ‘void dcpp::QueueManager::add(const std::string&, int64_t, const dcpp::TTHValue&, const dcpp::UserPtr&, const std::string&, int, bool)’: dcpp/QueueManager.cpp:572:18: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 572 | if(aUser == ClientManager::getInstance()->getMe()) { | ~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; dcpp/QueueManager.cpp:572:18: note: candidate: ‘operator==(int, int)’ (built-in) 572 | if(aUser == ClientManager::getInstance()->getMe()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/QueueManager.cpp:572:18: note: no known conversion for argument 2 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:572:57: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 572 | if(aUser == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:572:57: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 572 | if(aUser == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:572:57: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 572 | if(aUser == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:572:57: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 572 | if(aUser == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueManager.cpp:572:57: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 572 | if(aUser == ClientManager::getInstance()->getMe()) { | ^ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from dcpp/FinishedItem.h:23: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; In file included from dcpp/DownloadManager.cpp:24: dcpp/QueueManager.h: In constructor ‘dcpp::DirectoryItem::DirectoryItem()’: dcpp/QueueManager.h:53:54: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 53 | DirectoryItem() : priority(QueueItem::DEFAULT) { } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ dcpp/QueueManager.h: In member function ‘void dcpp::DirectoryItem::setUser(const dcpp::UserPtr&)’: dcpp/QueueManager.h:59:53: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 59 | void setUser(const UserPtr& aUser) { user = aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:46: error: expected ‘;’ at end of member declaration 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 92 | void * get_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:92:48: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:52: error: expected ‘;’ at end of member declaration 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; In file included from dcpp/Download.cpp:25: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::pair<_T1, _T2>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::allocator<_Tp1>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::vector<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::fpos<_StateT>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; In file included from /usr/include/c++/14/string:54: /usr/include/c++/14/bits/basic_string.h:3755:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3755 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3755:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’ 3772 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/c++/14/bits/basic_string.h:3772:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: candidate: ‘template bool std::operator==(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3819 | operator==(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: mismatched types ‘const _CharT*’ and ‘boost::intrusive_ptr’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/map:63, from dcpp/stdinc.h:111: /usr/include/c++/14/bits/stl_map.h:1512:5: note: candidate: ‘template bool std::operator==(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)’ 1512 | operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_map.h:1512:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/map:64: /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: candidate: ‘template bool std::operator==(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)’ 1134 | operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/set:63, from dcpp/stdinc.h:112: /usr/include/c++/14/bits/stl_set.h:987:5: note: candidate: ‘template bool std::operator==(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)’ 987 | operator==(const set<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/c++/14/bits/stl_set.h:987:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::set<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/set:64: /usr/include/c++/14/bits/stl_multiset.h:973:5: note: candidate: ‘template bool std::operator==(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)’ 973 | operator==(const multiset<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multiset.h:973:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/deque:66, from dcpp/stdinc.h:113: /usr/include/c++/14/bits/stl_deque.h:2290:5: note: candidate: ‘template bool std::operator==(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’ 2290 | operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_deque.h:2290:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::deque<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/list:65, from dcpp/stdinc.h:114: /usr/include/c++/14/bits/stl_list.h:2122:5: note: candidate: ‘template bool std::operator==(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’ 2122 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_list.h:2122:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept In file included from /usr/include/c++/14/bits/locale_facets.h:48, from /usr/include/c++/14/locale:42, from /usr/include/boost/format.hpp:23: /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: candidate: ‘template bool std::operator==(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’ 234 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a, | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 97 | void * get_local_deleter( sp_typeinfo_ const & ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:97:54: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:32: error: expected ‘;’ at end of member declaration 102 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 102 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:102:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:18: error: expected ‘;’ at end of member declaration 160 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/User.h:23, from dcpp/QueueItem.h:22, from dcpp/QueueItem.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 160 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:160:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:49: error: expected ‘;’ at end of member declaration 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ dcpp/QueueManager.cpp: In member function ‘void dcpp::QueueManager::putDownload(dcpp::Download*, bool)’: dcpp/QueueManager.cpp:1042:17: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 1042 | UserPtr up; | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; dcpp/QueueManager.cpp:1091:81: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 1091 | up = aDownload->getUser(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ In file included from dcpp/UploadManager.h:28, from dcpp/SearchResult.cpp:23: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 165 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:165:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:55: error: expected ‘;’ at end of member declaration 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; In file included from dcpp/SettingsManager.h:22, from dcpp/AdcCommand.h:22, from dcpp/SearchResult.h:25: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 170 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:170:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:32: error: expected ‘;’ at end of member declaration 175 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Client.h:22, from dcpp/AdcHub.h:22, from dcpp/AdcHub.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 175 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:175:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pd::sp_counted_impl_pd(P, D&)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘>’ before ‘&&’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:68: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:71: error: expected identifier before ‘>’ token 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:5: error: expected ‘)’ before ‘{’ token 153 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:152:52: note: to match this ‘(’ 152 | sp_counted_impl_pd( P p, D & d ): ptr( p ), del( static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:156:5: error: expected ‘{’ at end of input 156 | sp_counted_impl_pd( P p ): ptr( p ), del() | ^~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: At global scope: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:18: error: expected ‘;’ at end of member declaration 234 | void dispose() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 234 | void dispose() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:234:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:18: error: expected ‘;’ at end of member declaration 239 | void destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 239 | void destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:239:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:49: error: expected ‘;’ at end of member declaration 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 250 | void * get_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:250:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:55: error: expected ‘;’ at end of member declaration 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 255 | void * get_local_deleter( sp_typeinfo_ const & ti ) noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:255:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:32: error: expected ‘;’ at end of member declaration 260 | void * get_untyped_deleter() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ In file included from /usr/include/c++/14/bits/stl_algobase.h:71, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Iter_equals_val<_Value>::operator()(_Iterator) [with _Iterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Value = const boost::intrusive_ptr]’: /usr/include/c++/14/bits/stl_algobase.h:2097:14: required from ‘_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, vector > >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val >]’ 2097 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:2142:23: required from ‘_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator*, vector > >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val >]’ 2142 | return __find_if(__first, __last, __pred, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2143 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:3849:28: required from ‘_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator*, vector > >; _Tp = boost::intrusive_ptr]’ 3849 | return std::__find_if(__first, __last, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 3850 | __gnu_cxx::__ops::__iter_equals_val(__val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/FinishedItem.cpp:80:9: required from here 80 | if(find(users.begin(), users.end(), user) == users.end()) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/predefined_ops.h:270:24: error: no match for ‘operator==’ (operand types are ‘boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/c++/14/bits/predefined_ops.h:270:24: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/predefined_ops.h:270:24: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:1208:5: note: candidate: ‘template bool __gnu_cxx::operator==(const __normal_iterator<_IteratorL, _Container>&, const __normal_iterator<_IteratorR, _Container>&)’ 1208 | operator==(const __normal_iterator<_IteratorL, _Container>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:1208:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/predefined_ops.h:270:24: note: ‘boost::intrusive_ptr’ is not derived from ‘const __gnu_cxx::__normal_iterator<_IteratorL, _Container>’ 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:1216:5: note: candidate: ‘template bool __gnu_cxx::operator==(const __normal_iterator<_Iterator, _Container>&, const __normal_iterator<_Iterator, _Container>&)’ 1216 | operator==(const __normal_iterator<_Iterator, _Container>& __lhs, | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/c++/14/bits/stl_iterator.h:1216:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/predefined_ops.h:270:24: note: ‘boost::intrusive_ptr’ is not derived from ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’ 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/predefined_ops.h:270:24: note: ‘boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/predefined_ops.h:270:24: note: ‘boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: In file included from dcpp/DownloadManager.cpp:32: dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/c++/14/bits/predefined_ops.h:270:24: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/c++/14/bits/predefined_ops.h:270:24: note: ‘boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/predefined_ops.h:270:24: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 270 | { return *__it == _M_value; } | ~~~~~~^~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 260 | void * get_untyped_deleter() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:260:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In constructor ‘boost::detail::sp_counted_impl_pda::sp_counted_impl_pda(P, D&, A)’: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘>’ before ‘&&’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^~ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:72: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:75: error: expected identifier before ‘>’ token 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:227:5: error: expected ‘)’ before ‘{’ token 227 | { | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:226:56: note: to match this ‘(’ 226 | sp_counted_impl_pda( P p, D & d, A a ): p_( p ), d_( static_cast< D&& >( d ) ), a_( a ) | ^ /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:230:5: error: expected ‘{’ at end of input 230 | sp_counted_impl_pda( P p, A a ): p_( p ), d_( a ), a_( a ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:99:55: error: expected initializer before ‘noexcept’ 99 | template std::size_t sp_hash_pointer( T* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/c++/14/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’: /usr/include/c++/14/bits/stl_algobase.h:521:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 520 | return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | _Category>::__copy_m(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:548:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 548 | { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:556:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator*, vector > >; _OI = __gnu_cxx::__normal_iterator*, vector > >]’ 556 | std::__copy_move_a1<_IsMove>(std::__niter_base(__first), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | std::__niter_base(__last), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | std::__niter_base(__result))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:651:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator*, vector > >; _OI = __gnu_cxx::__normal_iterator*, vector > >]’ 650 | return std::__copy_move_a<__is_move_iterator<_II>::__value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 651 | (std::__miter_base(__first), std::__miter_base(__last), __result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:250:31: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::intrusive_ptr; _Alloc = std::allocator >]’ 250 | std::_Destroy(std::copy(__x.begin(), __x.end(), begin()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/FinishedItem.h:70:2: required from here 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ /usr/include/c++/14/bits/stl_algobase.h:403:25: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 403 | *__result = *__first; | ~~~~~~~~~~^~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’: /usr/include/c++/14/bits/stl_algobase.h:521:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 520 | return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | _Category>::__copy_m(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:548:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 548 | { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:556:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 556 | std::__copy_move_a1<_IsMove>(std::__niter_base(__first), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | std::__niter_base(__last), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | std::__niter_base(__result))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:651:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 650 | return std::__copy_move_a<__is_move_iterator<_II>::__value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 651 | (std::__miter_base(__first), std::__miter_base(__last), __result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:255:17: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::intrusive_ptr; _Alloc = std::allocator >]’ 255 | std::copy(__x._M_impl._M_start, __x._M_impl._M_start + size(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 256 | this->_M_impl._M_start); | ~~~~~~~~~~~~~~~~~~~~~~~ dcpp/FinishedItem.h:70:2: required from here 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ /usr/include/c++/14/bits/stl_algobase.h:403:25: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::intrusive_ptr’ and ‘boost::intrusive_ptr’) 403 | *__result = *__first; | ~~~~~~~~~~^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/SearchManager.cpp:135:45: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ In file included from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ In file included from /usr/include/c++/14/string:49: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:840:22: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node* std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_find_node(_Node*, const key_type&, typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; _Node = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_Node; key_type = boost::intrusive_ptr; typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long unsigned int; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys> = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>]’ 840 | if (this->_M_compare(__k, __code, __p)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:725:20: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::const_iterator std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::find(const key_type&) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; const_iterator = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::const_iterator; key_type = boost::intrusive_ptr]’ 725 | _Node* __p = _M_find_node(_M_buckets[__n], __k, __code); | ^~~~~~~~~~~~ dcpp/QueueManager.h:210:24: required from here 210 | return (running.find(aUser) != running.end()); | ~~~~~~~~~~~~^~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from dcpp/User.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from dcpp/QueueManager.h:30: dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ dcpp/DownloadManager.cpp: In member function ‘void dcpp::DownloadManager::checkIdle(const dcpp::UserPtr&)’: dcpp/DownloadManager.cpp:118:34: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 118 | if(uc->getUser() == user) { | ~~~~~~~~~~~~~ ^~ ~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ dcpp/DownloadManager.cpp:118:34: note: candidate: ‘operator==(int, int)’ (built-in) 118 | if(uc->getUser() == user) { | ~~~~~~~~~~~~~~^~~~~~~ dcpp/DownloadManager.cpp:118:34: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/DownloadManager.cpp:118:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 118 | if(uc->getUser() == user) { | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/DownloadManager.cpp:118:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 118 | if(uc->getUser() == user) { | ^~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/DownloadManager.cpp:118:37: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 118 | if(uc->getUser() == user) { | ^~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/DownloadManager.cpp:118:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 118 | if(uc->getUser() == user) { | ^~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/DownloadManager.cpp:118:37: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 118 | if(uc->getUser() == user) { | ^~~~ In file included from dcpp/QueueManager.h:30: dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: error: ‘constexpr’ does not name a type 123 | constexpr shared_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:123:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/HashManager.cpp:75:42: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/SearchManager.cpp:135:85: required from here 135 | LogManager::getInstance()->message(str(F_("Search disabled: %1%") % e.getError())); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DownloadManager.cpp: In member function ‘void dcpp::DownloadManager::checkDownloads(dcpp::UserConnection*)’: dcpp/DownloadManager.cpp:189:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 189 | dcdebug("Requesting " I64_FMT "/" I64_FMT "\n", d->getStartPos(), d->getSize()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | int64_t {aka long int} In file included from dcpp/DownloadManager.cpp:20: dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld dcpp/DownloadManager.cpp:189:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 189 | dcdebug("Requesting " I64_FMT "/" I64_FMT "\n", d->getStartPos(), d->getSize()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; dcpp/DownloadManager.cpp: In member function ‘void dcpp::DownloadManager::startData(dcpp::UserConnection*, int64_t, int64_t, bool)’: dcpp/DownloadManager.cpp:217:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 217 | dcdebug("Preparing " I64_FMT ":" I64_FMT ", " I64_FMT ":" I64_FMT"\n", d->getStartPos(), start, d->getSize(), bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld dcpp/DownloadManager.cpp:217:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 217 | dcdebug("Preparing " I64_FMT ":" I64_FMT ", " I64_FMT ":" I64_FMT"\n", d->getStartPos(), start, d->getSize(), bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld dcpp/DownloadManager.cpp:217:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 217 | dcdebug("Preparing " I64_FMT ":" I64_FMT ", " I64_FMT ":" I64_FMT"\n", d->getStartPos(), start, d->getSize(), bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld dcpp/DownloadManager.cpp:217:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 217 | dcdebug("Preparing " I64_FMT ":" I64_FMT ", " I64_FMT ":" I64_FMT"\n", d->getStartPos(), start, d->getSize(), bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: error: ‘constexpr’ does not name a type 130 | constexpr explicit shared_count( sp_counted_base * pi ) noexcept: pi_( pi ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:130:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:346:43: error: expected ‘)’ before ‘<’ token 346 | explicit shared_count( std::unique_ptr & r ): pi_( 0 ) | ~ ^ | ) /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:40: error: expected ‘;’ at end of member declaration 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/User.h:23, from dcpp/User.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/HashManager.cpp:75:81: required from here 75 | LogManager::getInstance()->message(str(F_("Hashing failed: %1%") % e.getError())); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:5: error: invalid constructor; you probably meant ‘boost::detail::shared_count (const boost::detail::shared_count&)’ 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:35: error: expected ‘;’ at end of member declaration 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/DownloadManager.cpp: In member function ‘void dcpp::DownloadManager::endData(dcpp::UserConnection*)’: dcpp/DownloadManager.cpp:335:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 335 | dcdebug("Download finished: %s, size " I64_FMT ", downloaded " I64_FMT "\n", d->getPath().c_str(), d->getSize(), d->getPos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ dcpp/DownloadManager.cpp:335:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 335 | dcdebug("Download finished: %s, size " I64_FMT ", downloaded " I64_FMT "\n", d->getPath().c_str(), d->getSize(), d->getPos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_count(shared_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:407:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:56: error: expected ‘;’ at end of member declaration 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^ | ; scons: *** [build/release/libdcpp/TigerHash.o] Error 1 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ scons: *** [build/release/libdcpp/FinishedItem.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:58: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:53: error: expected ‘;’ at end of member declaration 418 | shared_count & operator= (shared_count const & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/c++/14/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’: /usr/include/c++/14/bits/stl_algobase.h:521:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 520 | return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | _Category>::__copy_m(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:548:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 548 | { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:556:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator*, vector > >; _OI = __gnu_cxx::__normal_iterator*, vector > >]’ 556 | std::__copy_move_a1<_IsMove>(std::__niter_base(__first), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | std::__niter_base(__last), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | std::__niter_base(__result))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:651:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator*, vector > >; _OI = __gnu_cxx::__normal_iterator*, vector > >]’ 650 | return std::__copy_move_a<__is_move_iterator<_II>::__value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 651 | (std::__miter_base(__first), std::__miter_base(__last), __result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:250:31: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::intrusive_ptr; _Alloc = std::allocator >]’ 250 | std::_Destroy(std::copy(__x.begin(), __x.end(), begin()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/FinishedItem.h:70:2: required from here 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ /usr/include/c++/14/bits/stl_algobase.h:403:25: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 403 | *__result = *__first; | ~~~~~~~~~~^~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’: /usr/include/c++/14/bits/stl_algobase.h:521:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 520 | return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | _Category>::__copy_m(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:548:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 548 | { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:556:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 556 | std::__copy_move_a1<_IsMove>(std::__niter_base(__first), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | std::__niter_base(__last), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | std::__niter_base(__result))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:651:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = boost::intrusive_ptr*; _OI = boost::intrusive_ptr*]’ 650 | return std::__copy_move_a<__is_move_iterator<_II>::__value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 651 | (std::__miter_base(__first), std::__miter_base(__last), __result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:255:17: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::intrusive_ptr; _Alloc = std::allocator >]’ 255 | std::copy(__x._M_impl._M_start, __x._M_impl._M_start + size(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 256 | this->_M_impl._M_start); | ~~~~~~~~~~~~~~~~~~~~~~~ dcpp/FinishedItem.h:70:2: required from here 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ /usr/include/c++/14/bits/stl_algobase.h:403:25: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::intrusive_ptr’ and ‘boost::intrusive_ptr’) 403 | *__result = *__first; | ~~~~~~~~~~^~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 418 | shared_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:418:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:31: error: expected ‘;’ at end of member declaration 432 | void swap(shared_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/BufferedSocket.h:22, from dcpp/BufferedSocket.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::pair<_T1, _T2>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::allocator<_Tp1>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::vector<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::fpos<_StateT>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ In file included from /usr/include/c++/14/string:54: /usr/include/c++/14/bits/basic_string.h:3755:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3755 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3755:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’ 3772 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3772:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: candidate: ‘template bool std::operator==(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3819 | operator==(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept dcpp/QueueItem.h:97:78: note: mismatched types ‘const _CharT*’ and ‘boost::intrusive_ptr’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/map:63, from dcpp/stdinc.h:111: /usr/include/c++/14/bits/stl_map.h:1512:5: note: candidate: ‘template bool std::operator==(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)’ 1512 | operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_map.h:1512:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/map:64: /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: candidate: ‘template bool std::operator==(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)’ 1134 | operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/set:63, from dcpp/stdinc.h:112: /usr/include/c++/14/bits/stl_set.h:987:5: note: candidate: ‘template bool std::operator==(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)’ 987 | operator==(const set<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_set.h:987:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::set<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/set:64: /usr/include/c++/14/bits/stl_multiset.h:973:5: note: candidate: ‘template bool std::operator==(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)’ 973 | operator==(const multiset<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multiset.h:973:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/deque:66, from dcpp/stdinc.h:113: /usr/include/c++/14/bits/stl_deque.h:2290:5: note: candidate: ‘template bool std::operator==(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’ 2290 | operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_deque.h:2290:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::deque<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 432 | void swap(shared_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:432:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:22: error: expected ‘;’ at end of member declaration 439 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ In file included from dcpp/SearchResult.cpp:26: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/list:65, from dcpp/stdinc.h:114: /usr/include/c++/14/bits/stl_list.h:2122:5: note: candidate: ‘template bool std::operator==(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’ 2122 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_list.h:2122:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/c++/14/bits/locale_facets.h:48, from /usr/include/c++/14/locale:42, from /usr/include/boost/format.hpp:23: /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: candidate: ‘template bool std::operator==(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’ 234 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a, | ^~~~~~~~ /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: In file included from /usr/include/c++/14/string:49, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:840:22: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node* std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_find_node(_Node*, const key_type&, typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; _Node = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_Node; key_type = boost::intrusive_ptr; typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long unsigned int; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys> = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>]’ 840 | if (this->_M_compare(__k, __code, __p)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:725:20: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::const_iterator std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::find(const key_type&) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; const_iterator = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::const_iterator; key_type = boost::intrusive_ptr]’ 725 | _Node* __p = _M_find_node(_M_buckets[__n], __k, __code); | ^~~~~~~~~~~~ dcpp/QueueManager.h:210:24: required from here 210 | return (running.find(aUser) != running.end()); | ~~~~~~~~~~~~^~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 439 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:439:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:19: error: expected ‘;’ at end of member declaration 444 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 444 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:444:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:18: error: expected ‘;’ at end of member declaration 449 | bool empty() const noexcept | ^~~~~ | ; In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; scons: *** [build/release/libdcpp/Client.o] Error 1 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 449 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:449:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:47: error: expected ‘;’ at end of member declaration 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/UserConnection.h:22, from dcpp/UserConnection.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; scons: *** [build/release/libdcpp/TimerManager.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 454 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:454:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:45: error: expected ‘;’ at end of member declaration 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 459 | bool operator==( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:459:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:46: error: expected ‘;’ at end of member declaration 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; In file included from dcpp/User.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept In file included from dcpp/Client.h:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 461 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:461:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:44: error: expected ‘;’ at end of member declaration 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~ | ; In file included from dcpp/User.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 466 | bool operator<( weak_count const & r ) const noexcept; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:466:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:51: error: expected ‘;’ at end of member declaration 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 468 | void * get_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:468:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:57: error: expected ‘;’ at end of member declaration 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 473 | void * get_local_deleter( sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:473:63: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:34: error: expected ‘;’ at end of member declaration 478 | void * get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 478 | void * get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:478:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:30: error: expected ‘;’ at end of member declaration 483 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ dcpp/FavoriteUser.h: In member function ‘void dcpp::FavoriteUser::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/FavoriteUser.h:40:9: note: in expansion of macro ‘GETSET’ 40 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/CryptoManager.cpp:22: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 483 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:483:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, D, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:234:47: error: expected unqualified-id before ‘<’ token 234 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Transfer.h:22, from dcpp/Transfer.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:236:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 236 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:242:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 242 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/optional/optional.hpp:37: /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:251:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 251 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor ‘boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’: /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: error: ‘allocator_traits’ in namespace ‘std’ does not name a template type 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:31: note: ‘std::allocator_traits’ is only available from C++11 onwards /usr/include/boost/smart_ptr/detail/shared_count.hpp:281:47: error: expected unqualified-id before ‘<’ token 281 | typedef typename std::allocator_traits::template rebind_alloc< impl_type > A2; | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:283:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’? 283 | A2 a2( a ); | ^~ | A /usr/include/boost/smart_ptr/detail/shared_count.hpp:289:19: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 289 | pi_ = a2.allocate( 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:298:17: error: ‘a2’ was not declared in this scope; did you mean ‘boost::tt_align_ns::a2’? 298 | a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); | ^~ | boost::tt_align_ns::a2 /usr/include/boost/type_traits/type_with_alignment.hpp:88:40: note: ‘boost::tt_align_ns::a2’ declared here 88 | struct __attribute__((__aligned__(2))) a2 {}; | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/UserConnection.h:22, from dcpp/ConnectionManager.h:24, from dcpp/ConnectionManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp: At global scope: /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: error: ‘constexpr’ does not name a type 504 | constexpr weak_count() noexcept: pi_(0) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:504:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:38: error: expected ‘;’ at end of member declaration 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; scons: *** [build/release/libdcpp/SearchManager.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | weak_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:511:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:36: error: expected ‘;’ at end of member declaration 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 519 | weak_count(weak_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:519:38: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:27: error: expected ‘,’ or ‘...’ before ‘&&’ token 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:5: error: invalid constructor; you probably meant ‘boost::detail::weak_count (const boost::detail::weak_count&)’ 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:31: error: expected ‘;’ at end of member declaration 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^ | ; scons: *** [build/release/libdcpp/FinishedManager.o] Error 1 /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 529 | weak_count(weak_count && r) noexcept: pi_(r.pi_) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:529:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:51: error: expected ‘;’ at end of member declaration 545 | weak_count & operator= (shared_count const & r) noexcept | ^ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Client.h:22, from dcpp/ClientManager.h:24, from dcpp/CryptoManager.cpp:28: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 545 | weak_count & operator= (shared_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:545:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:49: error: expected ‘;’ at end of member declaration 559 | weak_count & operator= (weak_count const & r) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 559 | weak_count & operator= (weak_count const & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:559:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:29: error: expected ‘;’ at end of member declaration 573 | void swap(weak_count & r) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 573 | void swap(weak_count & r) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:573:31: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:22: error: expected ‘;’ at end of member declaration 580 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Client.h:22, from dcpp/ClientManager.h:24, from dcpp/ClientManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 580 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:580:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:18: error: expected ‘;’ at end of member declaration 585 | bool empty() const noexcept | ^~~~~ | ; In file included from dcpp/AdcHub.cpp:23: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 585 | bool empty() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:585:24: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:45: error: expected ‘;’ at end of member declaration 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/User.h:23, from dcpp/DirectoryListing.h:22, from dcpp/DirectoryListing.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 590 | bool operator==( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:590:51: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:47: error: expected ‘;’ at end of member declaration 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/Socket.cpp:54:13: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ In file included from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 595 | bool operator==( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:595:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:44: error: expected ‘;’ at end of member declaration 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; scons: *** [build/release/libdcpp/HashManager.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = int&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:91:62: required from ‘boost::basic_format& boost::basic_format::operator%(int&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 91 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/Socket.cpp:54:43: required from here 54 | msg = str(F_("Unknown error: 0x%1$x") % aError); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 600 | bool operator<( weak_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:600:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:46: error: expected ‘;’ at end of member declaration 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 605 | bool operator<( shared_count const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:605:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:30: error: expected ‘;’ at end of member declaration 610 | std::size_t hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; scons: *** [build/release/libdcpp/ADLSearch.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 610 | std::size_t hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/shared_count.hpp:610:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ scons: *** [build/release/libdcpp/SearchResult.o] Error 1 /usr/include/boost/smart_ptr/detail/shared_count.hpp:627:75: error: expected initializer before ‘noexcept’ 627 | inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) noexcept: pi_( r.pi_ ) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:638:68: error: expected initializer before ‘noexcept’ 638 | inline bool shared_count::operator==( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:643:67: error: expected initializer before ‘noexcept’ 643 | inline bool shared_count::operator<( weak_count const & r ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:196:66: error: expected initializer before ‘noexcept’ 196 | template< class Y, class T > inline void sp_assert_convertible() noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; In file included from dcpp/UserConnection.h:29: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ In file included from dcpp/SettingsManager.h:22, from dcpp/AdcCommand.h:22, from dcpp/UserConnectionListener.h:24, from dcpp/UserConnection.h:24: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from dcpp/AdcHub.cpp:24: dcpp/ShareManager.h: At global scope: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided scons: *** [build/release/libdcpp/Download.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/UserConnection.h:22, from dcpp/ConnectionManager.h:24, from dcpp/DCPlusPlus.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; dcpp/QueueItem.h: In instantiation of ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = dcpp::QueueItem::Source*; _OI = dcpp::QueueItem::Source*]’: /usr/include/c++/14/bits/stl_algobase.h:521:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = dcpp::QueueItem::Source*; _OI = dcpp::QueueItem::Source*]’ 520 | return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | _Category>::__copy_m(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:548:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = dcpp::QueueItem::Source*; _OI = dcpp::QueueItem::Source*]’ 548 | { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:556:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator >; _OI = __gnu_cxx::__normal_iterator >]’ 556 | std::__copy_move_a1<_IsMove>(std::__niter_base(__first), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | std::__niter_base(__last), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | std::__niter_base(__result))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:651:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator >; _OI = __gnu_cxx::__normal_iterator >]’ 650 | return std::__copy_move_a<__is_move_iterator<_II>::__value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 651 | (std::__miter_base(__first), std::__miter_base(__last), __result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:185:2: required from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator) [with _Tp = dcpp::QueueItem::Source; _Alloc = std::allocator; iterator = std::vector::iterator]’ 185 | _GLIBCXX_MOVE3(__position + 1, end(), __position); | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1540:24: required from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(iterator) [with _Tp = dcpp::QueueItem::Source; _Alloc = std::allocator; iterator = std::vector::iterator]’ 1540 | { return _M_erase(__position); } | ~~~~~~~~^~~~~~~~~~~~ dcpp/QueueItem.cpp:55:19: required from here 55 | badSources.erase(i); | ~~~~~~~~~~~~~~~~^~~ dcpp/QueueItem.h:75:15: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 75 | class Source : public Flags { | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:403:25: note: synthesized method ‘dcpp::QueueItem::Source& dcpp::QueueItem::Source::operator=(const dcpp::QueueItem::Source&)’ first required here 403 | *__result = *__first; | ~~~~~~~~~~^~~~~~~~~~ scons: *** [build/release/libdcpp/User.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/string:49: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:840:22: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node* std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_find_node(_Node*, const key_type&, typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; _Node = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_Node; key_type = boost::intrusive_ptr; typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long unsigned int; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys> = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>]’ 840 | if (this->_M_compare(__k, __code, __p)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:725:20: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::const_iterator std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::find(const key_type&) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; const_iterator = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::const_iterator; key_type = boost::intrusive_ptr]’ 725 | _Node* __p = _M_find_node(_M_buckets[__n], __k, __code); | ^~~~~~~~~~~~ dcpp/QueueManager.h:210:24: required from here 210 | return (running.find(aUser) != running.end()); | ~~~~~~~~~~~~^~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; In file included from /usr/include/c++/14/string:49: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:1051:42: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::size_type std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::erase(const key_type&) [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; size_type = long unsigned int; key_type = boost::intrusive_ptr]’ 1051 | while (*__slot && !this->_M_compare(__k, __code, *__slot)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ dcpp/QueueManager.cpp:237:15: required from here 237 | running.erase(user); | ~~~~~~~~~~~~~^~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:211:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 211 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:211:29: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:30: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:34: error: expected primary-expression before ‘[’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:35: error: expected primary-expression before ‘]’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:211:39: error: expected primary-expression before ‘)’ token 211 | sp_assert_convertible< Y[], T[] >(); | ^ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from dcpp/Client.h:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/SettingsManager.h:22, from dcpp/CryptoManager.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/ConnectionManager.h:24, from dcpp/AdcHub.cpp:27: dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; In file included from dcpp/User.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/Upload.h:4, from dcpp/Upload.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/BufferedSocket.h:22, from dcpp/HttpConnection.h:22, from dcpp/FavoriteManager.h:25, from dcpp/FavoriteManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ In file included from dcpp/UserConnection.h:29, from dcpp/Transfer.cpp:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from dcpp/Client.h:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; In file included from dcpp/SSL.cpp:4: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; dcpp/ConnectionManager.h: In function ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’: dcpp/ConnectionManager.h:95:100: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/ConnectionManager.h:95:100: note: candidate: ‘operator==(int, int)’ (built-in) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~^~~~~~~~ dcpp/ConnectionManager.h:95:100: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from dcpp/Transfer.h:25: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/User.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; In file included from dcpp/UserConnection.cpp:23: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ In file included from dcpp/UserConnection.h:29: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/SettingsManager.h:22, from dcpp/AdcCommand.h:22, from dcpp/UserConnectionListener.h:24, from dcpp/UserConnection.h:24: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ scons: *** [build/release/libdcpp/QueueItem.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, shared_count&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:217:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 217 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:217:29: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:35: error: expected primary-expression before ‘[’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:217:41: error: expected primary-expression before ‘)’ token 217 | sp_assert_convertible< Y[N], T[N] >(); | ^ scons: *** [build/release/libdcpp/Socket.o] Error 1 In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/NmdcHub.h:25, from dcpp/NmdcHub.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from dcpp/SSLSocket.h:25, from dcpp/BufferedSocket.cpp:28: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; dcpp/CryptoManager.cpp: In constructor ‘dcpp::CryptoManager::CryptoManager()’: dcpp/CryptoManager.cpp:51:60: warning: ‘const SSL_METHOD* TLSv1_client_method()’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 51 | clientContext.reset(SSL_CTX_new(TLSv1_client_method())); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/openssl/ssl.h:2070:50: note: declared here 2070 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ dcpp/CryptoManager.cpp:52:63: warning: ‘const SSL_METHOD* TLSv1_client_method()’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 52 | clientVerContext.reset(SSL_CTX_new(TLSv1_client_method())); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/ssl.h:2070:50: note: declared here 2070 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ dcpp/CryptoManager.cpp:53:60: warning: ‘const SSL_METHOD* TLSv1_server_method()’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 53 | serverContext.reset(SSL_CTX_new(TLSv1_server_method())); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/ssl.h:2069:50: note: declared here 2069 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); | ^~~~~~~~~~~~~~~~~~~ dcpp/CryptoManager.cpp:54:63: warning: ‘const SSL_METHOD* TLSv1_server_method()’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 54 | serverVerContext.reset(SSL_CTX_new(TLSv1_server_method())); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/ssl.h:2069:50: note: declared here 2069 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); | ^~~~~~~~~~~~~~~~~~~ dcpp/CryptoManager.cpp:57:32: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | dh.reset(DH_new()); | ~~~~~~^~ /usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ dcpp/CryptoManager.cpp:116:44: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 116 | DH_set0_pqg(dh, dh_p, NULL, dh_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/CryptoManager.cpp: In member function ‘void dcpp::CryptoManager::generateCertificate()’: dcpp/CryptoManager.cpp:148:29: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | ssl::RSA rsa(RSA_new()); | ~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; dcpp/CryptoManager.cpp:165:35: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 165 | CHECK((RSA_generate_key_ex(rsa, keylength, bn, NULL))) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/CryptoManager.cpp:161:23: note: in definition of macro ‘CHECK’ 161 | #define CHECK(n) if(!(n)) { throw CryptoException(#n); } | ^ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ dcpp/CryptoManager.cpp:166:33: warning: ‘int EVP_PKEY_set1_RSA(EVP_PKEY*, rsa_st*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 166 | CHECK((EVP_PKEY_set1_RSA(pkey, rsa))) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ dcpp/CryptoManager.cpp:161:23: note: in definition of macro ‘CHECK’ 161 | #define CHECK(n) if(!(n)) { throw CryptoException(#n); } | ^ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1354:5: note: declared here 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ dcpp/CryptoManager.cpp:190:40: warning: ‘int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | PEM_write_RSAPrivateKey(f, rsa, NULL, NULL, 0, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/openssl/ssl.h:37: /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h: In member function ‘std::pair >& std::pair >::operator=(const std::pair >&)’: /usr/include/c++/14/bits/stl_pair.h:284:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::shared_ptr’ and ‘const boost::shared_ptr’) 284 | struct pair | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:18: note: candidate: ‘boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with T = dcpp::BufferedSocket::TaskData]’ 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:18: note: candidate: ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::shared_ptr) [with T = dcpp::BufferedSocket::TaskData; boost::shared_ptr = boost::shared_ptr]’ 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ dcpp/BufferedSocket.cpp: In member function ‘bool dcpp::BufferedSocket::checkEvents()’: dcpp/BufferedSocket.cpp:396:41: note: synthesized method ‘std::pair >& std::pair >::operator=(const std::pair >&)’ first required here 396 | p = tasks.front(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; dcpp/ConnectionManager.h: In function ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’: dcpp/ConnectionManager.h:95:100: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/ConnectionManager.h:95:100: note: candidate: ‘operator==(int, int)’ (built-in) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~^~~~~~~~ dcpp/ConnectionManager.h:95:100: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from dcpp/Transfer.cpp:25: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/DirectoryListing.h: In member function ‘void dcpp::DirectoryListing::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/DirectoryListing.h:158:9: note: in expansion of macro ‘GETSET’ 158 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:230:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 230 | sp_assert_convertible< Y[], T[] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:230:29: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:30: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:34: error: expected primary-expression before ‘[’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:35: error: expected primary-expression before ‘]’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:230:39: error: expected primary-expression before ‘)’ token 230 | sp_assert_convertible< Y[], T[] >(); | ^ /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/DownloadManager.cpp:234:29: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘std::pair<_T1, _T2>::pair() [with _T1 = dcpp::BufferedSocket::Tasks; _T2 = boost::shared_ptr]’: dcpp/BufferedSocket.cpp:392:45: required from here 392 | pair > p; | ^ /usr/include/c++/14/bits/stl_pair.h:971:25: error: no matching function for call to ‘boost::shared_ptr::shared_ptr()’ 971 | pair() : first(), second() { } | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:392:5: note: candidate: ‘template boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr) [with D = Y; T = dcpp::BufferedSocket::TaskData]’ 392 | shared_ptr( boost::movelib::unique_ptr< Y, D > r ): px( r.get() ), pn() | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:392:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:365:5: note: candidate: ‘template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>) [with T = dcpp::BufferedSocket::TaskData]’ 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:354:14: note: candidate: ‘template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) [with T = dcpp::BufferedSocket::TaskData]’ 354 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:354:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:320:14: note: candidate: ‘template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) [with T = dcpp::BufferedSocket::TaskData]’ 320 | explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:320:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:303:41: note: candidate: ‘template boost::shared_ptr::shared_ptr(Y*, D, A) [with D = Y; A = D; T = dcpp::BufferedSocket::TaskData]’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:292:32: note: candidate: ‘template boost::shared_ptr::shared_ptr(Y*, D) [with D = Y; T = dcpp::BufferedSocket::TaskData]’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:281:14: note: candidate: ‘template boost::shared_ptr::shared_ptr(Y*) [with T = dcpp::BufferedSocket::TaskData]’ 281 | explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:281:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:315:5: note: candidate: ‘boost::shared_ptr::shared_ptr(const boost::shared_ptr&) [with T = dcpp::BufferedSocket::TaskData]’ 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/User.h:23, from dcpp/SearchManager.h:25, from dcpp/ShareManager.h:23, from dcpp/ShareManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; scons: *** [build/release/libdcpp/Util.o] Error 1 scons: *** [build/release/libdcpp/SSL.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/DownloadManager.cpp:234:80: required from here 234 | failDownload(aSource, str(F_("Could not open target file: %1%") % e.getError())); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; In file included from dcpp/DownloadManager.h:26, from dcpp/ConnectionManager.cpp:24: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*) [with Y = dcpp::BufferedSocket::TaskData; T = dcpp::BufferedSocket::TaskData]’: /usr/include/c++/14/bits/stl_pair.h:980:22: required from ‘std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with _U1 = dcpp::BufferedSocket::Tasks; _U2 = dcpp::BufferedSocket::TaskData*; _T1 = dcpp::BufferedSocket::Tasks; _T2 = boost::shared_ptr]’ 980 | : first(__p.first), second(__p.second) | ^~~~~~~~~~~~~~~~~~ dcpp/BufferedSocket.cpp:481:17: required from here 481 | tasks.push_back(make_pair(task, data)); taskSem.signal(); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:281:44: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 281 | explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete | ^~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided In file included from dcpp/Client.h:24, from dcpp/NmdcHub.h:28: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/SettingsManager.h:22, from dcpp/NmdcHub.h:23: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/QueueManager.h:28, from dcpp/DirectoryListing.cpp:24: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from dcpp/FavoriteManager.h:26: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; In file included from dcpp/SettingsManager.h:22, from dcpp/FavoriteManager.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In function ‘void boost::detail::sp_deleter_construct(boost::shared_ptr*, Y*)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:235:5: error: ‘sp_assert_convertible’ was not declared in this scope; did you mean ‘sp_enable_if_convertible’? 235 | sp_assert_convertible< Y[N], T[N] >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:235:29: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:35: error: expected primary-expression before ‘[’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:235:41: error: expected primary-expression before ‘)’ token 235 | sp_assert_convertible< Y[N], T[N] >(); | ^ In file included from dcpp/UserConnection.h:29: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/AdcHub.cpp:31: dcpp/SSL.h: At global scope: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/FavoriteUser.h: In member function ‘void dcpp::FavoriteUser::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/FavoriteUser.h:40:9: note: in expansion of macro ‘GETSET’ 40 | GETSET(UserPtr, user, User); | ^~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from dcpp/SettingsManager.h:22, from dcpp/AdcCommand.h:22, from dcpp/UserConnectionListener.h:24, from dcpp/UserConnection.h:24: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; dcpp/QueueManager.h: In constructor ‘dcpp::DirectoryItem::DirectoryItem()’: dcpp/QueueManager.h:53:54: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 53 | DirectoryItem() : priority(QueueItem::DEFAULT) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/QueueManager.h: In member function ‘void dcpp::DirectoryItem::setUser(const dcpp::UserPtr&)’: dcpp/QueueManager.h:59:53: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 59 | void setUser(const UserPtr& aUser) { user = aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/ClientManager.cpp:24: dcpp/ShareManager.h: At global scope: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: error: ‘constexpr’ does not name a type 264 | constexpr shared_ptr() noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:264:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: error: ‘constexpr’ does not name a type 268 | constexpr shared_ptr( std::nullptr_t ) noexcept : px( 0 ), pn() | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:268:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: error: ‘constexpr’ does not name a type 272 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) noexcept : px( px_ ), pn( pn_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:272:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/UserConnection.h:29, from dcpp/Upload.cpp:24: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/SettingsManager.h:22, from dcpp/SearchManager.h:22: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ConnectionManager.h: In function ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’: dcpp/ConnectionManager.h:95:100: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/ConnectionManager.h:95:100: note: candidate: ‘operator==(int, int)’ (built-in) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~^~~~~~~~ dcpp/ConnectionManager.h:95:100: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from dcpp/Transfer.h:25, from dcpp/Upload.h:5: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: error: ‘constexpr’ does not name a type 276 | constexpr shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) noexcept : px( px_ ), pn( std::move( pn_ ) ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:49: error: expected ‘)’ before ‘p’ 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:308:58: error: expected ‘)’ before ‘p’ 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ~ ^~ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:315:38: error: expected ‘;’ at end of member declaration 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^ | ; In file included from dcpp/ConnectionManager.h:24, from dcpp/ClientManager.cpp:26: dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 315 | shared_ptr( shared_ptr const & r ) noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:315:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:330:5: error: expected initializer before ‘noexcept’ 330 | noexcept : px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:340:5: error: expected initializer before ‘noexcept’ 340 | noexcept : px( r.px ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:347:61: error: expected initializer before ‘noexcept’ 347 | shared_ptr( shared_ptr const & r, element_type * p ) noexcept : px( p ), pn( r.pn ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:365:34: error: expected ‘,’ or ‘...’ before ‘&&’ token 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:32: error: expected ‘)’ before ‘<’ token 378 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn() | ~ ^ | ) /usr/include/boost/smart_ptr/shared_ptr.hpp:407:50: error: expected ‘;’ at end of member declaration 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^ | ; In file included from dcpp/NmdcHub.cpp:24: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/AdcHub.cpp: In member function ‘void dcpp::AdcHub::handle(dcpp::AdcCommand::INF, dcpp::AdcCommand&)’: dcpp/AdcHub.cpp:180:25: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 180 | if(u->getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/AdcHub.cpp:180:25: note: candidate: ‘operator==(int, int)’ (built-in) 180 | if(u->getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/AdcHub.cpp:180:25: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:180:52: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 180 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:180:52: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 180 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:180:52: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 180 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:180:52: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 180 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:180:52: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 180 | if(u->getUser() == getMyIdentity().getUser()) { | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 407 | shared_ptr & operator=( shared_ptr const & r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:407:52: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:414:53: error: expected initializer before ‘noexcept’ 414 | shared_ptr & operator=(shared_ptr const & r) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:430:46: error: expected ‘,’ or ‘...’ before ‘&&’ token 430 | shared_ptr & operator=( std::auto_ptr && r ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:34: error: ‘std::unique_ptr’ has not been declared 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:44: error: expected ‘,’ or ‘...’ before ‘<’ token 439 | shared_ptr & operator=( std::unique_ptr && r ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:28: error: expected ‘,’ or ‘...’ before ‘&&’ token 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:5: error: invalid constructor; you probably meant ‘boost::shared_ptr (const boost::shared_ptr&)’ 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:33: error: expected ‘;’ at end of member declaration 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^ | ; dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/AdcHub.cpp: In member function ‘void dcpp::AdcHub::handle(dcpp::AdcCommand::CTM, dcpp::AdcCommand&)’: dcpp/AdcHub.cpp:314:31: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 314 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/AdcHub.cpp:314:31: note: candidate: ‘operator==(int, int)’ (built-in) 314 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/AdcHub.cpp:314:31: note: no known conversion for argument 2 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:314:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 314 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:314:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 314 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:314:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 314 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:314:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 314 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:314:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 314 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ dcpp/ConnectionManager.h: In function ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’: dcpp/ConnectionManager.h:95:100: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 471 | shared_ptr( shared_ptr && r ) noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ | wrapexcept dcpp/ConnectionManager.h:95:100: note: candidate: ‘operator==(int, int)’ (built-in) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:471:35: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ dcpp/ConnectionManager.h:95:100: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/smart_ptr/shared_ptr.hpp:477:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 477 | shared_ptr( shared_ptr && r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:478:5: error: expected initializer before ‘noexcept’ 478 | noexcept : px( r.px ), pn( static_cast< boost::detail::shared_count && >( r.pn ) ) | ^~~~~~~~ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp:484:40: error: expected ‘,’ or ‘...’ before ‘&&’ token 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:45: error: expected ‘;’ at end of member declaration 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^ | ; /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ dcpp/AdcHub.cpp: In member function ‘void dcpp::AdcHub::handle(dcpp::AdcCommand::RCM, dcpp::AdcCommand&)’: dcpp/AdcHub.cpp:366:31: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 366 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/AdcHub.cpp:366:31: note: candidate: ‘operator==(int, int)’ (built-in) 366 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/AdcHub.cpp:366:31: note: no known conversion for argument 2 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:366:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 366 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:366:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 366 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:366:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 366 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:366:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 366 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/AdcHub.cpp:366:70: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 366 | if(!u || u->getUser() == ClientManager::getInstance()->getMe()) | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/QueueManager.cpp:330:44: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 484 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:484:47: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:43: error: expected ‘,’ or ‘...’ before ‘&&’ token 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:491:50: error: expected initializer before ‘noexcept’ 491 | shared_ptr & operator=( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:31: error: expected ‘,’ or ‘...’ before ‘&&’ token 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:499:56: error: expected initializer before ‘noexcept’ 499 | shared_ptr( shared_ptr && r, element_type * p ) noexcept : px( p ), pn() | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:34: error: ‘std::nullptr_t’ has not been declared 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:44: error: expected ‘;’ at end of member declaration 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^ | ; In file included from dcpp/DirectoryListing.cpp:25: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from dcpp/FavoriteManager.cpp:24: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 505 | shared_ptr & operator=( std::nullptr_t ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:505:46: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:16: error: expected ‘;’ at end of member declaration 511 | void reset() noexcept | ^ | ; In file included from dcpp/DownloadManager.h:26, from dcpp/DCPlusPlus.cpp:23: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 511 | void reset() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:511:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:532:79: error: expected initializer before ‘noexcept’ 532 | template void reset( shared_ptr const & r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:49: error: expected ‘,’ or ‘...’ before ‘&&’ token 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:537:74: error: expected initializer before ‘noexcept’ 537 | template void reset( shared_ptr && r, element_type * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:68: error: expected ‘;’ at end of member declaration 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/QueueManager.cpp:330:99: required from here 330 | LogManager::getInstance()->message(str(F_("%1% renamed to %2%") % Util::addBrackets(next.first) % Util::addBrackets(newTarget))); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:20: /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 542 | typename boost::detail::sp_dereference< T >::type operator* () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:542:74: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:71: error: expected ‘;’ at end of member declaration 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; scons: *** [build/release/libdcpp/BufferedSocket.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 548 | typename boost::detail::sp_member_access< T >::type operator-> () const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:548:77: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:88: error: expected ‘;’ at end of member declaration 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 554 | typename boost::detail::sp_array_access< T >::type operator[] ( std::ptrdiff_t i ) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:554:94: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:562:26: error: expected ‘;’ at end of member declaration 562 | element_type * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 562 | element_type * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:562:32: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:567:31: error: expected ‘;’ at end of member declaration 567 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 567 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:567:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:19: error: expected ‘;’ at end of member declaration 572 | bool unique() const noexcept | ^~~~~ | ; In file included from dcpp/NmdcHub.cpp:26: dcpp/ShareManager.h: At global scope: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/CryptoManager.cpp:224:43: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ In file included from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/ConnectionManager.cpp:26: dcpp/SSL.h: At global scope: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 572 | bool unique() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:572:25: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:577:22: error: expected ‘;’ at end of member declaration 577 | long use_count() const noexcept | ^~~~~ | ; dcpp/ShareManager.h: At global scope: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 577 | long use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:577:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:582:35: error: expected ‘;’ at end of member declaration 582 | void swap( shared_ptr & other ) noexcept | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/CryptoManager.cpp:224:112: required from here 224 | LogManager::getInstance()->message(str(F_("TLS disabled, failed to generate certificate: %1%") % e.getError())); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 582 | void swap( shared_ptr & other ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:582:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:588:76: error: expected initializer before ‘noexcept’ 588 | template bool owner_before( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:593:74: error: expected initializer before ‘noexcept’ 593 | template bool owner_before( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:598:76: error: expected initializer before ‘noexcept’ 598 | template bool owner_equals( shared_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:603:74: error: expected initializer before ‘noexcept’ 603 | template bool owner_equals( weak_ptr const & rhs ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:608:36: error: expected ‘;’ at end of member declaration 608 | std::size_t owner_hash_value() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 608 | std::size_t owner_hash_value() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:608:42: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:613:76: error: expected ‘;’ at end of member declaration 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; scons: *** [build/release/libdcpp/UserConnection.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 613 | void * _internal_get_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:613:82: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:618:82: error: expected ‘;’ at end of member declaration 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 618 | void * _internal_get_local_deleter( boost::detail::sp_typeinfo_ const & ti ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:618:88: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:623:44: error: expected ‘;’ at end of member declaration 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 623 | void * _internal_get_untyped_deleter() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:623:50: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:628:50: error: expected ‘;’ at end of member declaration 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 628 | bool _internal_equiv( shared_ptr const & r ) const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:628:56: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:633:51: error: expected ‘;’ at end of member declaration 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 633 | boost::detail::shared_count _internal_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:633:57: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘>’ before ‘&&’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:88: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:292:91: error: expected identifier before ‘>’ token 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:293:5: error: expected ‘)’ before ‘{’ token 293 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:292:69: note: to match this ‘(’ 292 | template shared_ptr( Y * p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:297:5: error: expected ‘{’ at end of input 297 | template shared_ptr( std::nullptr_t p, D d ): px( p ), pn( p, static_cast< D&& >( d ) ) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘>’ before ‘&&’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:102: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:303:105: error: expected identifier before ‘>’ token 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:304:5: error: expected ‘)’ before ‘{’ token 304 | { | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:303:83: note: to match this ‘(’ 303 | template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:308:5: error: expected ‘{’ at end of input 308 | template shared_ptr( std::nullptr_t p, D d, A a ): px( p ), pn( p, static_cast< D&& >( d ), a ) | ^~~~~~~~ scons: *** [build/release/libdcpp/Transfer.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(const boost::weak_ptr&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:322:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:322:48: error: expected primary-expression before ‘,’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:52: error: expected primary-expression before ‘>’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:322:54: error: expected primary-expression before ‘)’ token 322 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:356:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:356:48: error: expected primary-expression before ‘,’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:52: error: expected primary-expression before ‘>’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:356:54: error: expected primary-expression before ‘)’ token 356 | boost::detail::sp_assert_convertible< Y, T >(); | ^ In file included from dcpp/ConnectionManager.cpp:27: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided scons: *** [build/release/libdcpp/DownloadManager.o] Error 1 /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:365:45: error: ‘r’ was not declared in this scope 365 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:367:48: error: expected primary-expression before ‘,’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:52: error: expected primary-expression before ‘>’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:367:54: error: expected primary-expression before ‘)’ token 367 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:394:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:394:48: error: expected primary-expression before ‘,’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:52: error: expected primary-expression before ‘>’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:394:54: error: expected primary-expression before ‘)’ token 394 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:432:18: error: expected primary-expression before ‘(’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘>’ before ‘&&’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:50: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:432:53: error: expected identifier before ‘>’ token 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:432:56: error: ‘r’ was not declared in this scope 432 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(int)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ is not a member of ‘std’ 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: note: ‘std::unique_ptr’ is only available from C++11 onwards /usr/include/boost/smart_ptr/shared_ptr.hpp:441:18: error: expected primary-expression before ‘(’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:38: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:33: note: ‘std::unique_ptr’ is only available from C++11 onwards 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘>’ before ‘<’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected ‘(’ before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:48: error: expected primary-expression before ‘<’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:441:50: error: expected primary-expression before ‘,’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:53: error: expected primary-expression before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:58: error: expected identifier before ‘>’ token 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:441:61: error: ‘r’ was not declared in this scope 441 | this_type( static_cast< std::unique_ptr && >( r ) ).swap(*this); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(boost::movelib::unique_ptr)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:450:24: error: ‘sp_assert_convertible’ is not a member of ‘boost::detail’; did you mean ‘sp_enable_if_convertible’? 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^~~~~~~~~~~~~~~~~~~~~ | sp_enable_if_convertible /usr/include/boost/smart_ptr/shared_ptr.hpp:450:48: error: expected primary-expression before ‘,’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:52: error: expected primary-expression before ‘>’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:450:54: error: expected primary-expression before ‘)’ token 450 | boost::detail::sp_assert_convertible< Y, T >(); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: error: expected primary-expression before ‘(’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘>’ before ‘&&’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:524:40: error: expected identifier before ‘>’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:62: error: expected ‘)’ before ‘;’ token 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:524:18: note: to match this ‘(’ 524 | this_type( p, static_cast< D&& >( d ) ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void boost::shared_ptr::reset(Y*, D, A)’: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: error: expected primary-expression before ‘(’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘>’ before ‘&&’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:37: error: expected ‘(’ before ‘&&’ token /usr/include/boost/smart_ptr/shared_ptr.hpp:529:40: error: expected identifier before ‘>’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:65: error: expected ‘)’ before ‘;’ token 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: to match this ‘(’ 529 | this_type( p, static_cast< D&& >( d ), a ).swap( *this ); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/shared_ptr.hpp:649:101: error: expected initializer before ‘noexcept’ 649 | template inline bool operator==(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:654:101: error: expected initializer before ‘noexcept’ 654 | template inline bool operator!=(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:73: error: ‘std::nullptr_t’ has not been declared 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:659:85: error: expected initializer before ‘noexcept’ 659 | template inline bool operator==( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:31: error: declaration of ‘operator==’ as non-function 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:48: error: ‘nullptr_t’ is not a member of ‘std’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:664:73: error: expected primary-expression before ‘const’ 664 | template inline bool operator==( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:73: error: ‘std::nullptr_t’ has not been declared 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:669:85: error: expected initializer before ‘noexcept’ 669 | template inline bool operator!=( shared_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:31: error: declaration of ‘operator!=’ as non-function 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:48: error: ‘nullptr_t’ is not a member of ‘std’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:674:73: error: expected primary-expression before ‘const’ 674 | template inline bool operator!=( std::nullptr_t, shared_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:679:100: error: expected initializer before ‘noexcept’ 679 | template inline bool operator<(shared_ptr const & a, shared_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:684:74: error: expected initializer before ‘noexcept’ 684 | template inline void swap(shared_ptr & a, shared_ptr & b) noexcept | ^~~~~~~~ In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/FavoriteManager.cpp:25: dcpp/SSL.h: At global scope: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:689:89: error: expected initializer before ‘noexcept’ 689 | template shared_ptr static_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:699:88: error: expected initializer before ‘noexcept’ 699 | template shared_ptr const_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:709:90: error: expected initializer before ‘noexcept’ 709 | template shared_ptr dynamic_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:719:94: error: expected initializer before ‘noexcept’ 719 | template shared_ptr reinterpret_pointer_cast( shared_ptr const & r ) noexcept | ^~~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:77: error: expected ‘,’ or ‘...’ before ‘&&’ token 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:729:84: error: expected initializer before ‘noexcept’ 729 | template shared_ptr static_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:76: error: expected ‘,’ or ‘...’ before ‘&&’ token 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:739:83: error: expected initializer before ‘noexcept’ 739 | template shared_ptr const_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:78: error: expected ‘,’ or ‘...’ before ‘&&’ token 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:749:85: error: expected initializer before ‘noexcept’ 749 | template shared_ptr dynamic_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~ /usr/include/boost/smart_ptr/shared_ptr.hpp:759:89: error: expected initializer before ‘noexcept’ 759 | template shared_ptr reinterpret_pointer_cast( shared_ptr && r ) noexcept | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:771:102: error: expected initializer before ‘noexcept’ 771 | template inline typename shared_ptr::element_type * get_pointer(shared_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:789:77: error: expected initializer before ‘noexcept’ 789 | template D * basic_get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:794:88: error: expected initializer before ‘noexcept’ 794 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:795:100: error: expected initializer before ‘noexcept’ 795 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept; | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:27: error: expected ‘;’ at end of member declaration 805 | esft2_deleter_wrapper() noexcept | ^ | ; In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/ClientManager.cpp:27: dcpp/SSL.h: At global scope: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 805 | esft2_deleter_wrapper() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/shared_ptr.hpp:805:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/shared_ptr.hpp:809:75: error: expected initializer before ‘noexcept’ 809 | template< class T > void set_deleter( shared_ptr const & deleter ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:814:49: error: expected initializer before ‘noexcept’ 814 | template D* get_deleter() const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:819:46: error: expected initializer before ‘noexcept’ 819 | template< class T> void operator()( T* ) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:828:71: error: expected initializer before ‘noexcept’ 828 | template D * get_deleter( shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:852:82: error: expected initializer before ‘noexcept’ 852 | template inline bool atomic_is_lock_free( shared_ptr const * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:857:72: error: expected initializer before ‘noexcept’ 857 | template shared_ptr atomic_load( shared_ptr const * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:863:120: error: expected initializer before ‘noexcept’ 863 | template inline shared_ptr atomic_load_explicit( shared_ptr const * p, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:868:75: error: expected initializer before ‘noexcept’ 868 | template void atomic_store( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:874:123: error: expected initializer before ‘noexcept’ 874 | template inline void atomic_store_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:879:87: error: expected initializer before ‘noexcept’ 879 | template shared_ptr atomic_exchange( shared_ptr * p, shared_ptr r ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:890:135: error: expected initializer before ‘noexcept’ 890 | template shared_ptr inline atomic_exchange_explicit( shared_ptr * p, shared_ptr r, /*memory_order mo*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:895:105: error: expected initializer before ‘noexcept’ 895 | template bool atomic_compare_exchange( shared_ptr * p, shared_ptr * v, shared_ptr w ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:920:186: error: expected initializer before ‘noexcept’ 920 | template inline bool atomic_compare_exchange_explicit( shared_ptr * p, shared_ptr * v, shared_ptr w, /*memory_order success*/ M, /*memory_order failure*/ M ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:931:78: error: expected initializer before ‘noexcept’ 931 | template< class T > std::size_t hash_value( boost::shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:943:26: error: ‘hash’ is not a class template 943 | template struct hash< ::boost::shared_ptr > | ^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:64: error: expected ‘;’ at end of member declaration 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~ | ; In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/DirectoryListing.cpp:31: dcpp/SSL.h: At global scope: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ dcpp/DirectoryListing.h: In member function ‘void dcpp::DirectoryListing::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/DirectoryListing.h:158:9: note: in expansion of macro ‘GETSET’ 158 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: error: ‘noexcept’ does not name a type 945 | std::size_t operator()( ::boost::shared_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:945:70: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ scons: *** [build/release/libdcpp/Upload.o] Error 1 dcpp/FavoriteUser.h: In member function ‘void dcpp::FavoriteUser::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/FavoriteUser.h:40:9: note: in expansion of macro ‘GETSET’ 40 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/ConnectionManager.cpp:28: dcpp/QueueManager.h: In constructor ‘dcpp::DirectoryItem::DirectoryItem()’: dcpp/QueueManager.h:53:54: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 53 | DirectoryItem() : priority(QueueItem::DEFAULT) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/QueueManager.h: In member function ‘void dcpp::DirectoryItem::setUser(const dcpp::UserPtr&)’: dcpp/QueueManager.h:59:53: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 59 | void setUser(const UserPtr& aUser) { user = aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20, from /usr/include/boost/smart_ptr/shared_ptr.hpp:953: /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: error: ‘constexpr’ does not name a type 45 | constexpr local_counted_base() noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:45:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: error: ‘constexpr’ does not name a type 49 | constexpr local_counted_base( local_counted_base const & ) noexcept: local_use_count_( initial_ ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:49:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:35: error: expected ‘;’ at end of member declaration 57 | virtual void local_cb_destroy() noexcept = 0; | ^ | ; In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/NmdcHub.cpp:27: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 57 | virtual void local_cb_destroy() noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:57:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:69: error: expected ‘;’ at end of member declaration 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~ | ; In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/ShareManager.cpp:24: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/DCPlusPlus.cpp:25: dcpp/SSL.h: At global scope: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | virtual boost::detail::shared_count local_cb_get_shared_count() const noexcept = 0; | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:59:75: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:18: error: expected ‘;’ at end of member declaration 61 | void add_ref() noexcept | ^ | ; scons: *** [build/release/libdcpp/CryptoManager.o] Error 1 /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 61 | void add_ref() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:61:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:18: error: expected ‘;’ at end of member declaration 76 | void release() noexcept | ^ | ; In file included from dcpp/SSLSocket.h:25, from dcpp/SSLSocket.cpp:22: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from dcpp/DirectoryListing.cpp:32: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 76 | void release() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:76:20: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:28: error: expected ‘;’ at end of member declaration 86 | long local_use_count() const noexcept | ^~~~~ | ; dcpp/FavoriteManager.cpp: In member function ‘void dcpp::FavoriteManager::load(dcpp::SimpleXML&)’: dcpp/FavoriteManager.cpp:483:33: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 483 | UserPtr u; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/FavoriteManager.cpp:491:87: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 491 | u = ClientManager::getInstance()->getUser(nick, hubUrl); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/FavoriteManager.cpp:493:83: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 493 | u = ClientManager::getInstance()->getUser(CID(cid)); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | long local_use_count() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:86:34: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:57: error: expected ‘;’ at end of member declaration 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^ | ; dcpp/DirectoryListing.cpp: In static member function ‘static dcpp::UserPtr dcpp::DirectoryListing::getUserFromFilename(const std::string&)’: dcpp/DirectoryListing.cpp:61:32: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 61 | return UserPtr(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/DirectoryListing.cpp:67:32: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 67 | return UserPtr(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/DirectoryListing.cpp:71:32: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 71 | return UserPtr(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 104 | explicit local_counted_impl( shared_count const& pn ) noexcept: pn_( pn ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:104:59: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:47: error: expected ‘,’ or ‘...’ before ‘&&’ token 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:53: error: expected ‘;’ at end of member declaration 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^ | ; In file included from dcpp/ShareManager.cpp:25: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 108 | explicit local_counted_impl( shared_count && pn ) noexcept: pn_( std::move(pn) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:108:55: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:27: error: expected ‘;’ at end of member declaration 112 | void local_cb_destroy() noexcept override | ^ | ; dcpp/ConnectionManager.cpp: In member function ‘void dcpp::ConnectionManager::disconnect(const dcpp::UserPtr&)’: dcpp/ConnectionManager.cpp:716:34: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 716 | if(uc->getUser() == aUser) | ~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/ConnectionManager.cpp:716:34: note: candidate: ‘operator==(int, int)’ (built-in) 716 | if(uc->getUser() == aUser) | ~~~~~~~~~~~~~~^~~~~~~~ dcpp/ConnectionManager.cpp:716:34: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.cpp:716:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 716 | if(uc->getUser() == aUser) | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.cpp:716:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 716 | if(uc->getUser() == aUser) | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.cpp:716:37: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 716 | if(uc->getUser() == aUser) | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ In file included from dcpp/ConnectionManager.h:24, from dcpp/NmdcHub.cpp:28: dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.cpp:716:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 716 | if(uc->getUser() == aUser) | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided dcpp/ConnectionManager.cpp:716:37: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 716 | if(uc->getUser() == aUser) | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ In file included from dcpp/QueueManager.h:30: dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/ConnectionManager.cpp: In member function ‘void dcpp::ConnectionManager::disconnect(const dcpp::UserPtr&, int)’: dcpp/ConnectionManager.cpp:725:34: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 725 | if(uc->getUser() == aUser && uc->isSet(isDownload ? UserConnection::FLAG_DOWNLOAD : UserConnection::FLAG_UPLOAD)) { | ~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/ConnectionManager.cpp:725:34: note: candidate: ‘operator==(int, int)’ (built-in) 725 | if(uc->getUser() == aUser && uc->isSet(isDownload ? UserConnection::FLAG_DOWNLOAD : UserConnection::FLAG_UPLOAD)) { | ~~~~~~~~~~~~~~^~~~~~~~ dcpp/ConnectionManager.cpp:725:34: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.cpp:725:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 725 | if(uc->getUser() == aUser && uc->isSet(isDownload ? UserConnection::FLAG_DOWNLOAD : UserConnection::FLAG_UPLOAD)) { | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ dcpp/ConnectionManager.cpp:725:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 725 | if(uc->getUser() == aUser && uc->isSet(isDownload ? UserConnection::FLAG_DOWNLOAD : UserConnection::FLAG_UPLOAD)) { | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ dcpp/ConnectionManager.cpp:725:37: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 725 | if(uc->getUser() == aUser && uc->isSet(isDownload ? UserConnection::FLAG_DOWNLOAD : UserConnection::FLAG_UPLOAD)) { | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.cpp:725:37: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 725 | if(uc->getUser() == aUser && uc->isSet(isDownload ? UserConnection::FLAG_DOWNLOAD : UserConnection::FLAG_UPLOAD)) { | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.cpp:725:37: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 725 | if(uc->getUser() == aUser && uc->isSet(isDownload ? UserConnection::FLAG_DOWNLOAD : UserConnection::FLAG_UPLOAD)) { | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 112 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:112:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:61: error: expected ‘;’ at end of member declaration 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; dcpp/DirectoryListing.cpp: In member function ‘std::string dcpp::DirectoryListing::getLocalPath(const File*) const’: dcpp/DirectoryListing.cpp:249:22: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 249 | if(getUser() == ClientManager::getInstance()->getMe()) { | ~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/DirectoryListing.cpp:249:22: note: candidate: ‘operator==(int, int)’ (built-in) 249 | if(getUser() == ClientManager::getInstance()->getMe()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DirectoryListing.cpp:249:22: note: no known conversion for argument 2 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/DirectoryListing.cpp:249:61: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 249 | if(getUser() == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/DirectoryListing.cpp:249:61: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 249 | if(getUser() == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/DirectoryListing.cpp:249:61: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 249 | if(getUser() == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/DirectoryListing.cpp:249:61: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 249 | if(getUser() == ClientManager::getInstance()->getMe()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/DirectoryListing.cpp:249:61: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 249 | if(getUser() == ClientManager::getInstance()->getMe()) { | ^ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 117 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:117:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:27: error: expected ‘;’ at end of member declaration 129 | void local_cb_destroy() noexcept override | ^ | ; /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 129 | void local_cb_destroy() noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:129:29: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:61: error: expected ‘;’ at end of member declaration 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~ | ; dcpp/ConnectionManager.h: In function ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’: dcpp/ConnectionManager.h:95:100: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/ConnectionManager.h:95:100: note: candidate: ‘operator==(int, int)’ (built-in) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~^~~~~~~~ dcpp/ConnectionManager.h:95:100: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 134 | boost::detail::shared_count local_cb_get_shared_count() const noexcept override | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_counted_base.hpp:134:67: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:43: error: expected ‘;’ at end of member declaration 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^ | ; dcpp/ClientManager.cpp: In member function ‘dcpp::UserPtr dcpp::ClientManager::findLegacyUser(const std::string&) const’: dcpp/ClientManager.cpp:186:32: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 186 | return UserPtr(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/ClientManager.cpp:195:24: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 195 | return UserPtr(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 41 | explicit local_sp_deleter( D const& d ) noexcept: d_( d ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:41:45: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:38: error: expected ‘;’ at end of member declaration 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^ | ; In file included from dcpp/DCPlusPlus.cpp:26: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 45 | explicit local_sp_deleter( D&& d ) noexcept: d_( std::move(d) ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:45:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:16: error: expected ‘;’ at end of member declaration 49 | D& deleter() noexcept | ^ | ; dcpp/NmdcHub.cpp: In member function ‘dcpp::OnlineUser& dcpp::NmdcHub::getUser(const std::string&)’: dcpp/NmdcHub.cpp:78:17: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 78 | UserPtr p; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/NmdcHub.cpp:80:57: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 80 | p = ClientManager::getInstance()->getMe(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/NmdcHub.cpp:82:77: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’}) 82 | p = ClientManager::getInstance()->getUser(aNick, getHubUrl()); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/NmdcHub.cpp:89:33: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 89 | if(u->getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/NmdcHub.cpp:89:33: note: candidate: ‘operator==(int, int)’ (built-in) 89 | if(u->getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/NmdcHub.cpp:89:33: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:89:60: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 89 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:89:60: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 89 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:89:60: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 89 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:89:60: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 89 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:89:60: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 89 | if(u->getUser() == getMyIdentity().getUser()) { | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 49 | D& deleter() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:49:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:54:47: error: expected initializer before ‘noexcept’ 54 | template void operator()( Y* p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:27: error: ‘std::nullptr_t’ has not been declared 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:39: error: expected ‘;’ at end of member declaration 59 | void operator()( std::nullptr_t p ) noexcept | ^ | ; /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 59 | void operator()( std::nullptr_t p ) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:59:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:69:68: error: expected initializer before ‘noexcept’ 69 | template D * get_local_deleter( local_sp_deleter * p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/detail/local_sp_deleter.hpp:74:67: error: expected initializer before ‘noexcept’ 74 | inline void * get_local_deleter( local_sp_deleter * /*p*/ ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:961:88: error: expected initializer before ‘noexcept’ 961 | template D * basic_get_local_deleter( D *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:966:100: error: expected initializer before ‘noexcept’ 966 | template D const * basic_get_local_deleter( D const *, shared_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/optional/optional.hpp: In instantiation of ‘class boost::optional’: /usr/include/boost/format/internals.hpp:57:55: required from here 57 | boost::optional loc_; | ^~~~ /usr/include/boost/optional/optional.hpp:658:63: error: no type named ‘rval_reference_type’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 658 | typedef BOOST_DEDUCED_TYPENAME base::rval_reference_type rval_reference_type ; | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:659:78: error: no type named ‘reference_type_of_temporary_wrapper’ in ‘boost::optional::base’ {aka ‘class boost::optional_detail::optional_base’} 659 | typedef BOOST_DEDUCED_TYPENAME base::reference_type_of_temporary_wrapper reference_type_of_temporary_wrapper ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/NmdcHub.cpp: In member function ‘void dcpp::NmdcHub::onLine(const std::string&)’: dcpp/NmdcHub.cpp:395:32: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 395 | if(u.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/NmdcHub.cpp:395:32: note: candidate: ‘operator==(int, int)’ (built-in) 395 | if(u.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/NmdcHub.cpp:395:32: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:395:59: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 395 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:395:59: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 395 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:395:59: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 395 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:395:59: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 395 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:395:59: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 395 | if(u.getUser() == getMyIdentity().getUser()) { | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ dcpp/NmdcHub.cpp:562:40: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 562 | if(u.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/NmdcHub.cpp:562:40: note: candidate: ‘operator==(int, int)’ (built-in) 562 | if(u.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/NmdcHub.cpp:562:40: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:562:67: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 562 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:562:67: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 562 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:562:67: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 562 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:562:67: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 562 | if(u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:562:67: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 562 | if(u.getUser() == getMyIdentity().getUser()) { | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ dcpp/NmdcHub.cpp:570:67: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 570 | if(state == STATE_IDENTIFY && u.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/NmdcHub.cpp:570:67: note: candidate: ‘operator==(int, int)’ (built-in) 570 | if(state == STATE_IDENTIFY && u.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/NmdcHub.cpp:570:67: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:570:94: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 570 | if(state == STATE_IDENTIFY && u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:570:94: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 570 | if(state == STATE_IDENTIFY && u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:570:94: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 570 | if(state == STATE_IDENTIFY && u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:570:94: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 570 | if(state == STATE_IDENTIFY && u.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:570:94: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 570 | if(state == STATE_IDENTIFY && u.getUser() == getMyIdentity().getUser()) { | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from dcpp/DownloadManager.h:26, from dcpp/ShareManager.cpp:28: dcpp/QueueItem.h: In member function ‘bool dcpp::QueueItem::Source::operator==(const dcpp::UserPtr&) const’: dcpp/QueueItem.h:97:75: error: no match for ‘operator==’ (operand types are ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/QueueItem.h:97:75: note: candidate: ‘operator==(int, int)’ (built-in) 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ~~~~~^~~~~~~~ dcpp/QueueItem.h:97:75: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::pair<_T1, _T2>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::allocator<_Tp1>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::vector<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::fpos<_StateT>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ dcpp/NmdcHub.cpp:607:49: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 607 | if(u->getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/NmdcHub.cpp:607:49: note: candidate: ‘operator==(int, int)’ (built-in) 607 | if(u->getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/NmdcHub.cpp:607:49: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:607:76: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 607 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ In file included from /usr/include/c++/14/string:54: /usr/include/c++/14/bits/basic_string.h:3755:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3755 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/basic_string.h:3755:5: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:607:76: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 607 | if(u->getUser() == getMyIdentity().getUser()) { | ^ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/basic_string.h:3772:5: note: candidate: ‘template bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’ 3772 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ dcpp/NmdcHub.cpp:607:76: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 607 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/c++/14/bits/basic_string.h:3772:5: note: template argument deduction/substitution failed: /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:607:76: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 607 | if(u->getUser() == getMyIdentity().getUser()) { | ^ /usr/include/c++/14/bits/basic_string.h:3819:5: note: candidate: ‘template bool std::operator==(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 3819 | operator==(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3819:5: note: template argument deduction/substitution failed: /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: mismatched types ‘const _CharT*’ and ‘boost::intrusive_ptr’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ dcpp/NmdcHub.cpp:607:76: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 607 | if(u->getUser() == getMyIdentity().getUser()) { | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/14/map:63, from dcpp/stdinc.h:111: /usr/include/c++/14/bits/stl_map.h:1512:5: note: candidate: ‘template bool std::operator==(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)’ 1512 | operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_map.h:1512:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/map:64: /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: candidate: ‘template bool std::operator==(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)’ 1134 | operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multimap.h:1134:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/set:63, from dcpp/stdinc.h:112: /usr/include/c++/14/bits/stl_set.h:987:5: note: candidate: ‘template bool std::operator==(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)’ 987 | operator==(const set<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_set.h:987:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::set<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/set:64: /usr/include/c++/14/bits/stl_multiset.h:973:5: note: candidate: ‘template bool std::operator==(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)’ 973 | operator==(const multiset<_Key, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_multiset.h:973:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/deque:66, from dcpp/stdinc.h:113: /usr/include/c++/14/bits/stl_deque.h:2290:5: note: candidate: ‘template bool std::operator==(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’ 2290 | operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_deque.h:2290:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::deque<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/list:65, from dcpp/stdinc.h:114: /usr/include/c++/14/bits/stl_list.h:2122:5: note: candidate: ‘template bool std::operator==(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’ 2122 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_list.h:2122:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/c++/14/bits/locale_facets.h:48, from /usr/include/c++/14/locale:42, from /usr/include/boost/format.hpp:23: /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: candidate: ‘template bool std::operator==(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’ 234 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a, | ^~~~~~~~ /usr/include/c++/14/bits/streambuf_iterator.h:234:5: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/QueueItem.h:97:78: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 97 | bool operator==(const UserPtr& aUser) const { return user == aUser; } | ^~~~~ dcpp/QueueItem.h: In member function ‘void dcpp::QueueItem::Source::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/QueueItem.h:99:17: note: in expansion of macro ‘GETSET’ 99 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/NmdcHub.cpp:655:49: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 655 | if(ou.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | intrusive_ptr<[...]> intrusive_ptr<[...]> dcpp/NmdcHub.cpp:655:49: note: candidate: ‘operator==(int, int)’ (built-in) 655 | if(ou.getUser() == getMyIdentity().getUser()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/NmdcHub.cpp:655:49: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:655:76: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 655 | if(ou.getUser() == getMyIdentity().getUser()) { | ^ dcpp/DirectoryListing.h: In member function ‘void dcpp::DirectoryListing::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/DirectoryListing.h:158:9: note: in expansion of macro ‘GETSET’ 158 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:655:76: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 655 | if(ou.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/NmdcHub.cpp:655:76: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 655 | if(ou.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:655:76: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 655 | if(ou.getUser() == getMyIdentity().getUser()) { | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/NmdcHub.cpp:655:76: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 655 | if(ou.getUser() == getMyIdentity().getUser()) { | ^ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from dcpp/DCPlusPlus.cpp:28: dcpp/QueueManager.h: In constructor ‘dcpp::DirectoryItem::DirectoryItem()’: dcpp/QueueManager.h:53:54: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 53 | DirectoryItem() : priority(QueueItem::DEFAULT) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/boost/scoped_array.hpp:13, from dcpp/stdinc.h:123: /usr/include/boost/smart_ptr/scoped_array.hpp:56:38: error: expected ‘;’ at end of member declaration 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^ | ; dcpp/QueueManager.h: In member function ‘void dcpp::DirectoryItem::setUser(const dcpp::UserPtr&)’: dcpp/QueueManager.h:59:53: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 59 | void setUser(const UserPtr& aUser) { user = aUser; } | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/AdcHub.cpp:141:53: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ In file included from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 56 | explicit scoped_array( T * p = 0 ) noexcept : px( p ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:56:40: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:63:19: error: expected ‘;’ at end of member declaration 63 | ~scoped_array() noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 63 | ~scoped_array() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:63:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:71:25: error: expected ‘;’ at end of member declaration 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/AdcHub.cpp:142:33: required from here 142 | % u->getIdentity().getNick() % u->getIdentity().getSIDString() % cid % nick % AdcCommand::fromSID(c.getFrom()))); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 71 | void reset(T * p = 0) BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:71:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:77:38: error: expected ‘;’ at end of member declaration 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/SSLSocket.cpp:160:32: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ In file included from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 77 | T & operator[](std::ptrdiff_t i) const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:77:44: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:84:15: error: expected ‘;’ at end of member declaration 84 | T * get() const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 84 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:84:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:89:31: error: expected ‘;’ at end of member declaration 89 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = char* const&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = char*; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/SSLSocket.cpp:160:94: required from here 160 | throw SocketException(str(F_("SSL Error: %1% (%2%, %3%)") % ERR_error_string(err, errbuf) % ret % err)); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided In file included from dcpp/DCPlusPlus.cpp:29: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 89 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept scons: *** [build/release/libdcpp/QueueManager.o] Error 1 /usr/include/boost/smart_ptr/scoped_array.hpp:89:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:94:31: error: expected ‘;’ at end of member declaration 94 | void swap(scoped_array & b) noexcept | ^ | ; /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 94 | void swap(scoped_array & b) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/scoped_array.hpp:94:33: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/scoped_array.hpp:102:75: error: ‘std::nullptr_t’ has not been declared 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:102:87: error: expected initializer before ‘noexcept’ 102 | template inline bool operator==( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:31: error: declaration of ‘operator==’ as non-function 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:48: error: ‘nullptr_t’ is not a member of ‘std’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:107:75: error: expected primary-expression before ‘const’ 107 | template inline bool operator==( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:75: error: ‘std::nullptr_t’ has not been declared 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:112:87: error: expected initializer before ‘noexcept’ 112 | template inline bool operator!=( scoped_array const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:31: error: declaration of ‘operator!=’ as non-function 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:48: error: ‘nullptr_t’ is not a member of ‘std’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:117:75: error: expected primary-expression before ‘const’ 117 | template inline bool operator!=( std::nullptr_t, scoped_array const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/scoped_array.hpp:122:78: error: expected initializer before ‘noexcept’ 122 | template inline void swap(scoped_array & a, scoped_array & b) noexcept | ^~~~~~~~ In file included from dcpp/ShareManager.cpp:36: dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/FavoriteUser.h: In member function ‘void dcpp::FavoriteUser::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/FavoriteUser.h:40:9: note: in expansion of macro ‘GETSET’ 40 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp: In member function ‘std::set::const_iterator dcpp::ShareManager::findFile(const std::string&) const’: dcpp/ShareManager.cpp:255:25: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’} and ‘boost::intrusive_ptr’) 255 | d = mi->second; | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp: In member function ‘virtual void dcpp::ShareLoader::startTag(const std::string&, dcpp::StringPairList&, bool)’: dcpp/ShareManager.cpp:320:64: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’} and ‘boost::intrusive_ptr’) 320 | cur = *i; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp:325:88: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’}) 325 | cur = ShareManager::Directory::create(name, cur); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp:326:89: error: ambiguous overload for ‘operator=’ (operand types are ‘std::tr1::__detail::_Map_base, std::pair, boost::intrusive_ptr >, std::_Select1st, boost::intrusive_ptr > >, true, std::tr1::_Hashtable, std::pair, boost::intrusive_ptr >, std::allocator, boost::intrusive_ptr > >, std::_Select1st, boost::intrusive_ptr > >, dcpp::noCaseStringEq, dcpp::noCaseStringHash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >::mapped_type’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’}) 326 | cur->getParent()->directories[cur->getName()] = cur; | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp: In member function ‘void dcpp::ShareManager::addDirectory(const std::string&, const std::string&)’: dcpp/ShareManager.cpp:430:64: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 430 | Directory::Ptr dp = buildTree(realPath, Directory::Ptr()); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/boost/intrusive_ptr.hpp:16, from dcpp/Pointer.h:22, from dcpp/forward.h:26, from dcpp/UploadManager.h:22, from dcpp/UploadManager.cpp:22: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: error: ‘constexpr’ does not name a type 52 | constexpr intrusive_ptr() noexcept : px( 0 ) | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:52:5: note: C++11 ‘constexpr’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:33: error: expected ‘,’ or ‘...’ before ‘&&’ token 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:5: error: invalid constructor; you probably meant ‘boost::intrusive_ptr (const boost::intrusive_ptr&)’ 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:39: error: expected ‘;’ at end of member declaration 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^ | ; dcpp/ShareManager.cpp: In member function ‘dcpp::ShareManager::Directory::Ptr dcpp::ShareManager::buildTree(const std::string&, const Directory::Ptr&)’: dcpp/ShareManager.cpp:746:80: error: ambiguous overload for ‘operator=’ (operand types are ‘std::tr1::__detail::_Map_base, std::pair, boost::intrusive_ptr >, std::_Select1st, boost::intrusive_ptr > >, true, std::tr1::_Hashtable, std::pair, boost::intrusive_ptr >, std::allocator, boost::intrusive_ptr > >, std::_Select1st, boost::intrusive_ptr > >, dcpp::noCaseStringEq, dcpp::noCaseStringHash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >::mapped_type’ {aka ‘boost::intrusive_ptr’} and ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’}) 746 | dir->directories[name] = buildTree(newName, dir); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ scons: *** [build/release/libdcpp/SSLSocket.o] Error 1 /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 86 | intrusive_ptr(intrusive_ptr && rhs) noexcept : px( rhs.px ) | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:86:41: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:45: error: expected ‘,’ or ‘...’ before ‘&&’ token 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:51: error: expected ‘;’ at end of member declaration 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:53: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:36: error: expected ‘,’ or ‘...’ before ‘&&’ token 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:48: error: expected ‘,’ or ‘...’ before ‘&&’ token 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:107:56: error: expected initializer before ‘noexcept’ 107 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:15: error: expected ‘;’ at end of member declaration 140 | T * get() const noexcept | ^~~~~ | ; dcpp/ShareManager.cpp: In member function ‘virtual int dcpp::ShareManager::run()’: dcpp/ShareManager.cpp:863:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 863 | Directory::Ptr dp = buildTree(i->second, Directory::Ptr()); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 140 | T * get() const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:140:21: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:16: error: expected ‘;’ at end of member declaration 145 | T * detach() noexcept | ^ | ; dcpp/ShareManager.cpp: In member function ‘void dcpp::ShareManager::getBloom(dcpp::ByteVector&, size_t, size_t, size_t) const’: dcpp/ShareManager.cpp:891:44: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 891 | dcdebug("Creating bloom filter, k=%u, m=%u, h=%u\n", k, m, h); | ~^ ~ | | | | unsigned int size_t {aka long unsigned int} | %lu dcpp/ShareManager.cpp:891:50: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 891 | dcdebug("Creating bloom filter, k=%u, m=%u, h=%u\n", k, m, h); | ~^ ~ | | | | unsigned int size_t {aka long unsigned int} | %lu dcpp/ShareManager.cpp:891:56: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 891 | dcdebug("Creating bloom filter, k=%u, m=%u, h=%u\n", k, m, h); | ~^ ~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu In file included from /usr/include/c++/14/string:49, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:840:22: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node* std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_find_node(_Node*, const key_type&, typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; _Node = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_Node; key_type = boost::intrusive_ptr; typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long unsigned int; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys> = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>]’ 840 | if (this->_M_compare(__k, __code, __p)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:725:20: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::const_iterator std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::find(const key_type&) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; const_iterator = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::const_iterator; key_type = boost::intrusive_ptr]’ 725 | _Node* __p = _M_find_node(_M_buckets[__n], __k, __code); | ^~~~~~~~~~~~ dcpp/QueueManager.h:210:24: required from here 210 | return (running.find(aUser) != running.end()); | ~~~~~~~~~~~~^~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 145 | T * detach() noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:145:18: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:21: error: expected ‘;’ at end of member declaration 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from dcpp/DCPlusPlus.cpp:36: dcpp/ADLSearch.h: In constructor ‘dcpp::ADLSearchManager::ADLSearchManager()’: dcpp/ADLSearch.h:236:28: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 236 | ADLSearchManager() { Load(); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/ShareManager.cpp: In member function ‘dcpp::MemoryInputStream* dcpp::ShareManager::generatePartialList(const std::string&, bool) const’: dcpp/ShareManager.cpp:979:32: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 979 | Directory::Ptr root; | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/ADLSearch.h: In member function ‘void dcpp::ADLSearchManager::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/ADLSearch.h:249:9: note: in expansion of macro ‘GETSET’ 249 | GETSET(UserPtr, user, User) | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp:994:41: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 994 | root = *it; | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp:1001:45: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 1001 | root = it2->second; | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 152 | T & operator*() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:152:27: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:22: error: expected ‘;’ at end of member declaration 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 158 | T * operator->() const BOOST_SP_NOEXCEPT_WITH_ASSERT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:158:28: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ In file included from /usr/include/c++/14/string:49, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:840:22: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node* std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_find_node(_Node*, const key_type&, typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; _Node = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_Node; key_type = boost::intrusive_ptr; typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long unsigned int; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys> = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>]’ 840 | if (this->_M_compare(__k, __code, __p)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:725:20: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::const_iterator std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::find(const key_type&) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; const_iterator = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::const_iterator; key_type = boost::intrusive_ptr]’ 725 | _Node* __p = _M_find_node(_M_buckets[__n], __k, __code); | ^~~~~~~~~~~~ dcpp/QueueManager.h:210:24: required from here 210 | return (running.find(aUser) != running.end()); | ~~~~~~~~~~~~^~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:31: error: expected ‘;’ at end of member declaration 164 | explicit operator bool () const noexcept | ^~~~~ | ; /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ dcpp/ShareManager.cpp: In member function ‘dcpp::ShareManager::Directory::Ptr dcpp::ShareManager::getDirectory(const std::string&)’: dcpp/ShareManager.cpp:1410:40: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 1410 | Directory::Ptr d; | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/ShareManager.cpp:1413:46: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’} and ‘boost::intrusive_ptr’) 1413 | d = *i; | ^ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/ShareManager.cpp:1418:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 1418 | return Directory::Ptr(); | ^ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided scons: *** [build/release/libdcpp/AdcHub.o] Error 1 dcpp/ShareManager.cpp:1427:63: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 1427 | return Directory::Ptr(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/ShareManager.cpp:1428:42: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::ShareManager::Directory::Ptr’ {aka ‘boost::intrusive_ptr’} and ‘boost::intrusive_ptr’) 1428 | d = dmi->second; | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ShareManager.cpp:1433:31: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 1433 | return Directory::Ptr(); | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 164 | explicit operator bool () const noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:164:37: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:34: error: expected ‘;’ at end of member declaration 169 | void swap(intrusive_ptr & rhs) noexcept | ^ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: error: ‘noexcept’ does not name a type; did you mean ‘wrapexcept’? 169 | void swap(intrusive_ptr & rhs) noexcept | ^~~~~~~~ | wrapexcept /usr/include/boost/smart_ptr/intrusive_ptr.hpp:169:36: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr)’: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:101:11: error: ‘rhs’ was not declared in this scope 101 | : px( rhs.px ) | ^~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp: At global scope: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:181:107: error: expected initializer before ‘noexcept’ 181 | template inline bool operator==(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:186:107: error: expected initializer before ‘noexcept’ 186 | template inline bool operator!=(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:191:86: error: expected initializer before ‘noexcept’ 191 | template inline bool operator==(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:196:86: error: expected initializer before ‘noexcept’ 196 | template inline bool operator!=(intrusive_ptr const & a, U * b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:201:86: error: expected initializer before ‘noexcept’ 201 | template inline bool operator==(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:206:86: error: expected initializer before ‘noexcept’ 206 | template inline bool operator!=(T * a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:76: error: ‘std::nullptr_t’ has not been declared 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:211:88: error: expected initializer before ‘noexcept’ 211 | template inline bool operator==( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:31: error: declaration of ‘operator==’ as non-function 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:48: error: ‘nullptr_t’ is not a member of ‘std’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:216:76: error: expected primary-expression before ‘const’ 216 | template inline bool operator==( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:76: error: ‘std::nullptr_t’ has not been declared 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:221:88: error: expected initializer before ‘noexcept’ 221 | template inline bool operator!=( intrusive_ptr const & p, std::nullptr_t ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:31: error: declaration of ‘operator!=’ as non-function 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:48: error: ‘nullptr_t’ is not a member of ‘std’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:226:76: error: expected primary-expression before ‘const’ 226 | template inline bool operator!=( std::nullptr_t, intrusive_ptr const & p ) noexcept | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:231:97: error: expected initializer before ‘noexcept’ 231 | template inline bool operator<(intrusive_ptr const & a, intrusive_ptr const & b) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:236:77: error: expected initializer before ‘noexcept’ 236 | template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:243:63: error: expected initializer before ‘noexcept’ 243 | template T * get_pointer(intrusive_ptr const & p) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:83: error: expected ‘,’ or ‘...’ before ‘&&’ token 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:265:90: error: expected initializer before ‘noexcept’ 265 | template intrusive_ptr static_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:82: error: expected ‘,’ or ‘...’ before ‘&&’ token 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:270:89: error: expected initializer before ‘noexcept’ 270 | template intrusive_ptr const_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:84: error: expected ‘,’ or ‘...’ before ‘&&’ token 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:275:91: error: expected initializer before ‘noexcept’ 275 | template intrusive_ptr dynamic_pointer_cast( intrusive_ptr && p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:298:81: error: expected initializer before ‘noexcept’ 298 | template< class T > std::size_t hash_value( boost::intrusive_ptr const & p ) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:67: error: expected ‘;’ at end of member declaration 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~ | ; /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: error: ‘noexcept’ does not name a type 312 | std::size_t operator()( ::boost::intrusive_ptr const & p ) const noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:312:73: note: C++11 ‘noexcept’ only available with ‘-std=c++11’ or ‘-std=gnu++11’ /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/NmdcHub.cpp:282:52: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ In file included from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:68:60: required from ‘boost::basic_format& boost::basic_format::operator%(T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 68 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/NmdcHub.cpp:282:79: required from here 282 | fire(ClientListener::SearchFlood(), this, str(F_("%1% (Nick unknown)") % seeker)); | ^~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided In file included from /usr/include/c++/14/tr1/hashtable.h:36, from /usr/include/c++/14/tr1/unordered_set:43, from dcpp/stdinc.h:133: /usr/include/c++/14/tr1/hashtable_policy.h: In instantiation of ‘std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type& std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::operator[](const _Key&) [with _Key = std::__cxx11::basic_string; _Pair = std::pair, boost::intrusive_ptr >; _Hashtable = std::tr1::_Hashtable, std::pair, boost::intrusive_ptr >, std::allocator, boost::intrusive_ptr > >, std::_Select1st, boost::intrusive_ptr > >, dcpp::noCaseStringEq, dcpp::noCaseStringHash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>; mapped_type = boost::intrusive_ptr]’: dcpp/ShareManager.cpp:326:50: required from here 326 | cur->getParent()->directories[cur->getName()] = cur; | ^ /usr/include/c++/14/tr1/hashtable_policy.h:525:58: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 525 | return __h->_M_insert_bucket(std::make_pair(__k, mapped_type()), | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/ConnectionManager.cpp:250:45: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/ConnectionManager.cpp:250:88: required from here 250 | LogManager::getInstance()->message(str(F_("Connectivity error: %1%") % e.getError())); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided In file included from dcpp/UploadManager.h:28: dcpp/User.h: In constructor ‘dcpp::Identity::Identity()’: dcpp/User.h:104:27: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 104 | Identity() : sid(0) { } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In copy constructor ‘dcpp::Identity::Identity(const dcpp::Identity&)’: dcpp/User.h:106:55: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 106 | Identity(const Identity& rhs) : Flags(), sid(0) { *this = rhs; } // Use operator= since we have to lock before reading... | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/User.h: In member function ‘dcpp::Identity& dcpp::Identity::operator=(const dcpp::Identity&)’: dcpp/User.h:107:113: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 107 | Identity& operator=(const Identity& rhs) { FastLock l(cs); *static_cast(this) = rhs; user = rhs.user; sid = rhs.sid; info = rhs.info; return *this; } | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ In file included from dcpp/SettingsManager.h:22, from dcpp/AdcCommand.h:22, from dcpp/UserConnectionListener.h:24, from dcpp/UploadManager.h:23: dcpp/User.h: In member function ‘void dcpp::Identity::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/User.h:148:9: note: in expansion of macro ‘GETSET’ 148 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ scons: *** [build/release/libdcpp/FavoriteManager.o] Error 1 scons: *** [build/release/libdcpp/DirectoryListing.o] Error 1 In file included from /usr/include/c++/14/string:49, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:840:22: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node* std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_find_node(_Node*, const key_type&, typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; _Node = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_Node; key_type = boost::intrusive_ptr; typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long unsigned int; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys> = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>]’ 840 | if (this->_M_compare(__k, __code, __p)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:725:20: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::const_iterator std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::find(const key_type&) const [with _Key = boost::intrusive_ptr; _Value = std::pair, dcpp::QueueItem*>; _Allocator = std::allocator, dcpp::QueueItem*> >; _ExtractKey = std::_Select1st, dcpp::QueueItem*> >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; const_iterator = std::tr1::_Hashtable, std::pair, dcpp::QueueItem*>, std::allocator, dcpp::QueueItem*> >, std::_Select1st, dcpp::QueueItem*> >, std::equal_to >, dcpp::User::Hash, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::const_iterator; key_type = boost::intrusive_ptr]’ 725 | _Node* __p = _M_find_node(_M_buckets[__n], __k, __code); | ^~~~~~~~~~~~ dcpp/QueueManager.h:210:24: required from here 210 | return (running.find(aUser) != running.end()); | ~~~~~~~~~~~~^~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from dcpp/QueueManager.h:30: dcpp/DirectoryListing.h:172:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::Directory::Ptr, const std::string&)’ 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:172:57: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::Directory::Ptr’ {aka ‘dcpp::DirectoryListing::Directory*’} 172 | inline bool operator==(DirectoryListing::Directory::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ dcpp/DirectoryListing.h:173:13: note: candidate: ‘bool dcpp::operator==(DirectoryListing::File::Ptr, const std::string&)’ 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ^~~~~~~~ dcpp/DirectoryListing.h:173:52: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::DirectoryListing::File::Ptr’ {aka ‘dcpp::DirectoryListing::File*’} 173 | inline bool operator==(DirectoryListing::File::Ptr a, const string& b) { return Util::stricmp(a->getName(), b) == 0; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ scons: *** [build/release/libdcpp/ClientManager.o] Error 1 In file included from dcpp/ConnectionManager.h:24, from dcpp/UploadManager.cpp:24: dcpp/UserConnection.h: In constructor ‘dcpp::UserConnection::UserConnection(bool)’: dcpp/UserConnection.h:187:99: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 187 | lastActivity(0), speed(0), chunkSize(0), socket(0), secure(secure_), download(NULL) { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided dcpp/UserConnection.h: In member function ‘void dcpp::UserConnection::setUser(const dcpp::UserPtr&)’: dcpp/UserConnection.h:197:24: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 197 | user = aUser; | ^~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ dcpp/ConnectionManager.h: In function ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’: dcpp/ConnectionManager.h:95:100: error: no match for ‘operator==’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’}) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | intrusive_ptr<[...]> | intrusive_ptr<[...]> dcpp/ConnectionManager.h:95:100: note: candidate: ‘operator==(int, int)’ (built-in) 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~^~~~~~~~ dcpp/ConnectionManager.h:95:100: note: no known conversion for argument 2 from ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} to ‘int’ In file included from /usr/include/boost/optional/optional.hpp:1172: /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: dcpp/ConnectionManager.h:95:103: note: ‘const dcpp::UserPtr’ {aka ‘const boost::intrusive_ptr’} is not derived from ‘const boost::optional’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ scons: *** [build/release/libdcpp/NmdcHub.o] Error 1 scons: *** [build/release/libdcpp/ConnectionManager.o] Error 1 In file included from dcpp/UploadManager.cpp:26: dcpp/ShareManager.h: At global scope: dcpp/ShareManager.h:160:81: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 160 | static Ptr create(const string& aName, const Ptr& aParent = Ptr()) { return Ptr(new Directory(aName, aParent)); } | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::ShareManager::Directory]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::ShareManager::Directory]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::ShareManager::Directory]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::ShareManager::Directory]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided In file included from dcpp/UploadManager.cpp:27: dcpp/ClientManager.h: In constructor ‘dcpp::ClientManager::ClientManager()’: dcpp/ClientManager.h:128:25: error: no matching function for call to ‘boost::intrusive_ptr::intrusive_ptr()’ 128 | ClientManager() { | ^ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(boost::intrusive_ptr) [with T = dcpp::User]’ 100 | intrusive_ptr(intrusive_ptr && rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty()) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:100:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate: ‘template boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&, typename boost::detail::sp_enable_if_convertible::type) [with T = dcpp::User]’ 62 | intrusive_ptr( intrusive_ptr const & rhs, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:62:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = dcpp::User]’ 68 | intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:68:5: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate: ‘boost::intrusive_ptr::intrusive_ptr(T*, bool) [with T = dcpp::User]’ 56 | intrusive_ptr( T * p, bool add_ref = true ): px( p ) | ^~~~~~~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:56:5: note: candidate expects 2 arguments, 0 provided scons: *** [build/release/libdcpp/DCPlusPlus.o] Error 1 dcpp/FavoriteUser.h: In member function ‘void dcpp::FavoriteUser::setUser(dcpp::TypeTraits >::ParameterType)’: dcpp/Util.h:57:76: error: ambiguous overload for ‘operator=’ (operand types are ‘dcpp::UserPtr’ {aka ‘boost::intrusive_ptr’} and ‘const boost::intrusive_ptr’) 57 | void set##name2(TypeTraits::ParameterType a##name2) { name = a##name2; } | ^ dcpp/FavoriteUser.h:40:9: note: in expansion of macro ‘GETSET’ 40 | GETSET(UserPtr, user, User); | ^~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/ShareManager.cpp:801:43: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/ShareManager.cpp:802:52: required from here 802 | % Util::addBrackets(dir.getRealPath(f.getName())) % Util::toString(f.getSize()) % Util::addBrackets(j->second->getParent()->getRealPath(j->second->getName())))); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided In file included from dcpp/SSLSocket.h:25, from dcpp/CryptoManager.h:27, from dcpp/UploadManager.cpp:33: dcpp/SSL.h: At global scope: dcpp/SSL.h:31:34: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | typedef scoped_handle DH; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from dcpp/SSL.h:4: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ dcpp/SSL.h:32:36: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | typedef scoped_handle DSA; | ^ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ dcpp/SSL.h:34:36: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | typedef scoped_handle RSA; | ^ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ dcpp/UploadManager.cpp: In member function ‘bool dcpp::UploadManager::prepareFile(dcpp::UserConnection&, const std::string&, const std::string&, int64_t, int64_t, bool)’: dcpp/UploadManager.cpp:62:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 62 | dcdebug("Preparing %s %s " I64_FMT " " I64_FMT " %d\n", aType.c_str(), aFile.c_str(), aStartPos, aBytes, listRecursive); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | int64_t {aka long int} In file included from dcpp/UploadManager.cpp:20: dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld dcpp/UploadManager.cpp:62:17: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 62 | dcdebug("Preparing %s %s " I64_FMT " " I64_FMT " %d\n", aType.c_str(), aFile.c_str(), aStartPos, aBytes, listRecursive); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | int64_t {aka long int} dcpp/DCPlusPlus.h:131:21: note: format string is defined here 131 | #define I64_FMT "%lld" | ~~~^ | | | long long int | %ld scons: *** [build/release/libdcpp/ShareManager.o] Error 1 In file included from /usr/include/c++/14/string:49, from dcpp/stdinc.h:110: /usr/include/c++/14/bits/stl_function.h: In instantiation of ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::intrusive_ptr]’: /usr/include/c++/14/tr1/hashtable_policy.h:682:21: required from ‘bool std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, _Hash_code_type, std::tr1::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::intrusive_ptr; _Value = boost::intrusive_ptr; _ExtractKey = std::_Identity >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash_code_type = long unsigned int]’ 682 | { return _M_eq(__k, _M_extract(__n->_M_v)); } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/tr1/hashtable.h:1051:42: required from ‘std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::size_type std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::erase(const key_type&) [with _Key = boost::intrusive_ptr; _Value = boost::intrusive_ptr; _Allocator = std::allocator >; _ExtractKey = std::_Identity >; _Equal = std::equal_to >; _H1 = dcpp::User::Hash; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = true; bool __unique_keys = true; size_type = long unsigned int; key_type = boost::intrusive_ptr]’ 1051 | while (*__slot && !this->_M_compare(__k, __code, *__slot)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ dcpp/UploadManager.cpp:211:22: required from here 211 | reservedSlots.erase(aSource.getUser()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: error: no match for ‘operator==’ (operand types are ‘const boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_function.h:375:20: note: candidate: ‘operator==(int, int)’ (built-in) /usr/include/c++/14/bits/stl_function.h:375:20: note: no known conversion for argument 2 from ‘const boost::intrusive_ptr’ to ‘int’ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60: /usr/include/c++/14/bits/stl_pair.h:1033:5: note: candidate: ‘template bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 1033 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1033:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::pair<_T1, _T2>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:67: /usr/include/c++/14/bits/stl_iterator.h:441:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 441 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:441:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: candidate: ‘template bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 486 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:486:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:63, from dcpp/stdinc.h:109: /usr/include/c++/14/bits/allocator.h:235:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 235 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/14/bits/allocator.h:235:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::allocator<_Tp1>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/vector:66: /usr/include/c++/14/bits/stl_vector.h:2050:5: note: candidate: ‘template bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2050 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:2050:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 375 | { return __x == __y; } | ~~~~^~~~~~ In file included from /usr/include/c++/14/bits/char_traits.h:42, from /usr/include/c++/14/string:42: /usr/include/c++/14/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/14/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const std::fpos<_StateT>’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: candidate: ‘template bool boost::operator==(const optional&, const optional&)’ 29 | bool operator == ( optional const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:29:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: candidate: ‘template bool boost::operator==(const optional&, const T&)’ 63 | bool operator == ( optional const& x, T const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:63:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: candidate: ‘template bool boost::operator==(const T&, const optional&)’ 97 | bool operator == ( T const& x, optional const& y ) | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:97:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: candidate: ‘template bool boost::operator==(const optional&, none_t)’ 132 | bool operator == ( optional const& x, none_t ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:132:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: candidate: ‘template bool boost::operator==(none_t, const optional&)’ 166 | bool operator == ( none_t , optional const& y ) BOOST_NOEXCEPT | ^~~~~~~~ /usr/include/boost/optional/detail/optional_relops.hpp:166:6: note: template argument deduction/substitution failed: /usr/include/c++/14/bits/stl_function.h:375:20: note: ‘const boost::intrusive_ptr’ is not derived from ‘const boost::optional’ 375 | { return __x == __y; } | ~~~~^~~~~~ dcpp/ConnectionManager.h:95:13: note: candidate: ‘bool dcpp::operator==(ConnectionQueueItem::Ptr, const UserPtr&)’ 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ^~~~~~~~ dcpp/ConnectionManager.h:95:49: note: no known conversion for argument 1 from ‘const boost::intrusive_ptr’ to ‘dcpp::ConnectionQueueItem::Ptr’ {aka ‘dcpp::ConnectionQueueItem*’} 95 | inline bool operator==(ConnectionQueueItem::Ptr ptr, const UserPtr& aUser) { return ptr->getUser() == aUser; } | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘_ForwardIterator std::__stable_partition_adaptive(_ForwardIterator, _ForwardIterator, _Predicate, _Distance, _Pointer, _Distance) [with _ForwardIterator = _List_iterator, long unsigned int> >; _Pointer = pair, long unsigned int>*; _Predicate = __gnu_cxx::__ops::_Iter_pred; _Distance = long int]’: /usr/include/c++/14/bits/stl_algo.h:1543:34: required from ‘_ForwardIterator std::__stable_partition(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator = _List_iterator, long unsigned int> >; _Predicate = __gnu_cxx::__ops::_Iter_pred]’ 1543 | std::__stable_partition_adaptive(__first, __last, __pred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 1544 | _DistanceType(__buf.requested_size()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1545 | __buf.begin(), | ~~~~~~~~~~~~~~ 1546 | _DistanceType(__buf.size())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:1578:37: required from ‘_BIter std::stable_partition(_BIter, _BIter, _Predicate) [with _BIter = _List_iterator, long unsigned int> >; _Predicate = dcpp::UploadManager::WaitingUserFresh]’ 1578 | return std::__stable_partition(__first, __last, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 1579 | __gnu_cxx::__ops::__pred_iter(__pred)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/UploadManager.cpp:421:49: required from here 421 | WaitingUserList::iterator i = stable_partition(waitingUsers.begin(), waitingUsers.end(), WaitingUserFresh()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:284:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::intrusive_ptr’ and ‘const boost::intrusive_ptr’) 284 | struct pair | ^~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(boost::intrusive_ptr) [with T = dcpp::User; boost::intrusive_ptr = boost::intrusive_ptr]’ 91 | intrusive_ptr & operator=(intrusive_ptr && rhs) noexcept | ^~~~~~~~ /usr/include/boost/smart_ptr/intrusive_ptr.hpp:113:21: note: candidate: ‘boost::intrusive_ptr& boost::intrusive_ptr::operator=(const boost::intrusive_ptr&) [with T = dcpp::User]’ 113 | intrusive_ptr & operator=(intrusive_ptr const & rhs) | ^~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:1484:22: note: synthesized method ‘std::pair, long unsigned int>& std::pair, long unsigned int>::operator=(const std::pair, long unsigned int>&)’ first required here 1484 | *__result2 = _GLIBCXX_MOVE(*__first); | ^ /usr/include/boost/format/internals.hpp: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >; typename __gnu_cxx::__enable_if<(! __is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/14/bits/stl_algobase.h:998:21: required from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 998 | { std::__fill_a1(__first, __last, __value); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:1029:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = boost::io::detail::format_item, allocator >*; _Tp = boost::io::detail::format_item, allocator >]’ 1029 | std::__fill_a(__first, __last, __value); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/vector.tcc:727:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(iterator, size_type, const value_type&) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; iterator = std::vector, std::allocator >, std::allocator, std::allocator > > >::iterator; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 727 | std::fill(__position.base(), __position.base() + __n, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | __x_copy); | ~~~~~~~~~ /usr/include/c++/14/bits/stl_vector.h:1058:4: required from ‘void std::vector<_Tp, _Alloc>::resize(size_type, value_type) [with _Tp = boost::io::detail::format_item, std::allocator >; _Alloc = std::allocator, std::allocator > >; size_type = long unsigned int; value_type = boost::io::detail::format_item, std::allocator >]’ 1058 | _M_fill_insert(end(), __new_size - size(), __x); | ^~~~~~~~~~~~~~ /usr/include/boost/format/parsing.hpp:552:22: required from ‘boost::basic_format& boost::basic_format::parse(const string_type&) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; string_type = std::__cxx11::basic_string]’ 552 | items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcpp/DCPlusPlus.h:108:11: required from ‘boost::basic_format dcpp::dcpp_fmt(const T*) [with T = char]’ 108 | fmt.parse(t); | ~~~~~~~~~^~~ dcpp/UploadManager.cpp:149:42: required from here 188 | #define F_(String) dcpp_fmt(dgettext(PACKAGE, String)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/internals.hpp:35:12: error: ambiguous overload for ‘operator=’ (operand types are ‘boost::optional’ and ‘const boost::optional’) 35 | struct stream_format_state | ^~~~~~~~~~~~~~~~~~~ /usr/include/boost/optional/optional.hpp:811:15: note: candidate: ‘boost::optional& boost::optional::operator=(const boost::optional&) [with T = std::locale]’ 811 | optional& operator= ( optional const& rhs ) | ^~~~~~~~ /usr/include/boost/optional/optional.hpp:822:15: note: candidate: ‘boost::optional& boost::optional::operator=(boost::optional) [with T = std::locale; boost::optional = boost::optional]’ 822 | optional& operator= ( optional && rhs ) | ^~~~~~~~ /usr/include/boost/format/internals.hpp:65:12: note: synthesized method ‘boost::io::detail::stream_format_state >& boost::io::detail::stream_format_state >::operator=(const boost::io::detail::stream_format_state >&)’ first required here 65 | struct format_item | ^~~~~~~~~~~ /usr/include/c++/14/bits/stl_algobase.h:940:18: note: synthesized method ‘boost::io::detail::format_item, std::allocator >& boost::io::detail::format_item, std::allocator >::operator=(const boost::io::detail::format_item, std::allocator >&)’ first required here 940 | *__first = __value; | ~~~~~~~~~^~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp: In instantiation of ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = boost::io::basic_altstringbuf, std::allocator >; D = boost::io::basic_oaltstringstream, std::allocator >::No_Op; T = boost::io::basic_altstringbuf, std::allocator >]’: /usr/include/boost/utility/base_from_member.hpp:147:5: required from ‘boost::base_from_member::base_from_member(T0, T1) [with T0 = boost::io::basic_altstringbuf, std::allocator >*; T1 = boost::io::basic_oaltstringstream, std::allocator >::No_Op; MemberType = boost::shared_ptr, std::allocator > >; int UniqueID = 0]’ 147 | BOOST_PP_REPEAT_FROM_TO( 2, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/alt_sstream.hpp:148:79: required from ‘boost::io::basic_oaltstringstream::basic_oaltstringstream(stringbuf_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; stringbuf_t = boost::io::basic_altstringbuf, std::allocator >]’ 148 | : pbase_type(buf, No_Op() ), stream_t(pbase_type::member.get()) | ^ /usr/include/boost/format/feed_args.hpp:174:48: required from ‘void boost::io::detail::put(T, const format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, locale_t*) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&; typename boost::basic_format::string_type = std::__cxx11::basic_string; typename boost::basic_format::internal_streambuf_t = boost::io::basic_altstringbuf, std::allocator >; locale_t = std::locale]’ 174 | basic_oaltstringstream oss( &buf); | ^~~ /usr/include/boost/format/feed_args.hpp:291:39: required from ‘void boost::io::detail::distribute(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 291 | put (x, self.items_[i], self.items_[i].res_, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | self.buf_, boost::get_pointer(self.loc_) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/feed_args.hpp:301:38: required from ‘boost::basic_format& boost::io::detail::feed_impl(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const put_holder >&]’ 301 | distribute (self, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/boost/format/feed_args.hpp:313:67: required from ‘boost::basic_format& boost::io::detail::feed(boost::basic_format&, T) [with Ch = char; Tr = std::char_traits; Alloc = std::allocator; T = const std::__cxx11::basic_string&]’ 313 | return feed_impl&>(self, put_holder(x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/format/format_class.hpp:64:66: required from ‘boost::basic_format& boost::basic_format::operator%(const T&) [with T = std::__cxx11::basic_string; Ch = char; Tr = std::char_traits; Alloc = std::allocator]’ 64 | { return io::detail::feed(*this,x); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ dcpp/UploadManager.cpp:149:107: required from here 149 | LogManager::getInstance()->message(str(F_("Unable to send file %1%: %2%") % Util::addBrackets(sourceFile) % e.getError())); | ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:295:5: error: no matching function for call to ‘boost::detail::shared_count::shared_count()’ 295 | } | ^ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate: ‘template boost::detail::shared_count::shared_count(boost::movelib::unique_ptr&)’ 369 | explicit shared_count( boost::movelib::unique_ptr & r ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:369:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate: ‘template boost::detail::shared_count::shared_count(std::auto_ptr&)’ 326 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:326:14: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag, A)’ 274 | template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:274:43: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D, A)’ 227 | template shared_count( P p, D d, A a ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:227:41: note: candidate expects 3 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate: ‘template boost::detail::shared_count::shared_count(P, boost::detail::sp_inplace_tag)’ 197 | template< class P, class D > shared_count( P p, sp_inplace_tag ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:197:34: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate: ‘template boost::detail::shared_count::shared_count(P, D)’ 167 | template shared_count( P p, D d ): pi_(0) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:167:32: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate: ‘template boost::detail::shared_count::shared_count(Y*)’ 137 | template explicit shared_count( Y * p ): pi_( 0 ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:137:32: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&, boost::detail::sp_nothrow_tag)’ 416 | shared_count( weak_count const & r, sp_nothrow_tag ) noexcept; // constructs an empty *this when r.use_count() == 0 | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:416:5: note: candidate expects 2 arguments, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::weak_count&)’ 616 | inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ ) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:616:8: note: candidate expects 1 argument, 0 provided /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate: ‘boost::detail::shared_count::shared_count(const boost::detail::shared_count&)’ 399 | shared_count(shared_count const & r) noexcept: pi_(r.pi_) | ^~~~~~~~~~~~ /usr/include/boost/smart_ptr/detail/shared_count.hpp:399:5: note: candidate expects 1 argument, 0 provided scons: *** [build/release/libdcpp/UploadManager.o] Error 1 scons: building terminated because of errors. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bpXduS (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bpXduS (%build) I: [iurt_root_command] ERROR: chroot